   iframeWindow.requestAnimationFrame(() => {
                setTimeout(function() {
                    takeScreenshot();
                }, 100);
            });
        });
    };
</script>
<iframe id="form-iframe" src="support/embedded_style_media_queries_resized-iframe.html"></iframe>
