scroll a div selenium python code example Example: scrfoll with selenium python driver.execute_script("window.scrollTo(0, document.body.scrollHeight);")