selenium报错解决,老脚本的重新使用和修理(练练英语)

selenium报错解决,老脚本的重新使用和修理(练练英语),第1张

selenium报错解决,老脚本的重新使用和修理(练练英语

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.

I solved it in this way.

3.由于目标计算机积极拒绝,无法连接。
我怀疑是selenium开的页面太多了。
4. No connection adapters were found
原因是request的url给错格式了。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5721679.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-17
下一篇 2022-12-18

发表评论

登录后才能评论

评论列表(0条)

保存