element = driver.find_element(By.XPATH, "Whatever xpath you want") driver.execute_script("return arguments[0].scrollIntoView();", element)