ed() {
    document.querySelector('.position-parent').classList.toggle('fixed');
  }

  document.getElementById('button').addEventListener('click', toggleFixed);

  requestAnimationFrame(() => {
    window.scrollTo(0, document.querySelector('.long').clientHeight);
    createIndicatorForStickyElements(document.querySelectorAll('.sticky'));
    requestAnimationFrame(() => {
      toggleFixed();
      takeScreenshot();
    });
  });
</script>
</html>
