selenium报错解决,老脚本的重新使用和修理(练练英语)
来源:http://www.tudoupe.com时间:2022-02-01
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 yourgeckodriver.exehas unexpectedly exited due to some unknown issues, you can just try download the latest version ofgeckodriver.exeto solve it.
I solved it in this way.
3.由于目标计算机积极拒绝,无法连接。
我怀疑是selenium开的页面太多了。
4.No connection adapters were found
原因是request的url给错格式了。
相关新闻
- 2023-04-16 2台电脑怎么共享(2台电脑怎么共享
- 2023-04-16 主板检测卡代码(电脑主板检测卡代
- 2023-04-16 dnf未响应(dnf未响应老是上不去)
- 2023-04-16 ppoe(pppoe拨号上网)
- 2023-04-16 网速不稳定(网速不稳定是路由器的
- 2023-04-16 wds状态(Wds状态成功)
- 2023-04-16 光标键(光标键不动了怎么办)
- 2023-04-16 电脑提速(电脑提速100倍的方法)
- 2023-04-16 切换用户(切换用户怎么切换回来
- 2023-04-16 数据包是什么(产品数据包是什么
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
