问题
This is the Firefox webdriver code:
driver.execute_script("window.scrollTo(0, document.body.scrollHeight);")
which is now not working.
I suspect version upgrade issue,
Here are our versions:
python version is 3.6
selenium version is 3.141.0
We have another project using same geckodriver and same firefox on same host and is working fine. Is there a way to print webdriver options, settings etc and compare the two scenarios ?
来源:https://stackoverflow.com/questions/57436587/window-scrollto-suddenly-stopped-working-after-working-fine-many-years-into-a