1.DeprecationWarning: executable_path has been deprecated, please pass in a Service object
It means you have to pass a Service object, rather than pass “executable path” in the old-fashioned version.
So it’s caused by the update of selenium.
2.selenium.common.exceptions.WebDriverException: Message: Service D:python!geckodriver-v0.26.0-win64geckodriver.exe unexpectedly exited. Status code was: 64
It means your geckodriver.exe has unexpectedly exited due to some unknown issues, you can just try download the latest version of geckodriver.exe to solve it.
3.由于目标计算机积极拒绝,无法连接。
我怀疑是selenium开的页面太多了。
4. No connection adapters were found
原因是request的url给错格式了。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)