Dim scroll As IJavaScriptExecutor = TryCast(driver, IJavaScriptExecutor) scroll.ExecuteScript("window.scroll(0,document.body.scrollHeight)")