擅长:python、mysql、java
<p>从上周开始,我一直试图纠正这个问题,最后使用Selenium IDE扩展并录制和播放了滚动部分。用Python导出脚本,在下面几行帮助我解决了这个问题</p>
<p>您要查找的命令是单击并按住()</p>
<pre><code> element =driver.find_element_by_xpath(final_xpath)
#final_xpath=xpath of scroll bar arrow button, mostly an img, or something like isc_B7end
actions = ActionChains(driver)
actions.move_to_element(element).click_and_hold().perform()
</code></pre>