element = driver.find_element(By.ID, "element_id") driver.execute_script("arguments[0].scrollIntoView();", element)