擅长:python、mysql、java
<p>您可以尝试使用<a href="http://selenium-python.readthedocs.org/api.html#module-selenium.webdriver.common.action_chains" rel="nofollow">Action Chains</a></p>
<pre><code>element = driver.find_element_by_id("id") # the element you want to scroll to
ActionChains(driver).move_to_element(element).perform()
</code></pre>