(document.querySelector('main'));
        requestAnimationFrame(() => {
          requestAnimationFrame(() => {
            document.querySelector(':root').style.setProperty('--bg', 'green');
            requestAnimationFrame(() => {
              takeScreenshot();
            });
          });
        });
      }
    </script>
  </body>
</html>
