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