nt.addEventListener("scroll", event => {
            println("The page has been scrolled to y: " + window.scrollY);
            done();
        });

        document.getElementById("box").dispatchEvent(new Event("click"));
    });
</script>
