selenium scroll to top of page java code example Example: how to scroll to top of page in selenium window.scrollTo(0, 0);