edge通常不会下载xxxx确保信任xxx怎么解决

浏览器下载问价弹窗报这个错误怎么解决?

前提:

1、确保防火墙是否关闭

2、关闭情况下还是不能下载可能是edge的设置出现了问题,按照如下方法解决

方法:

在【设置】——【隐私、搜索和服务】关闭这一项,如下图

 

Traceback (most recent call last): File "E:\python\Lib\site-packages\selenium\webdriver\common\driver_finder.py", line 64, in _binary_paths raise ValueError(f"The path is not a valid file: {path}") ValueError: The path is not a valid file: E:\pychrame\edge driver\msedgedriver.exe The above exception was the direct cause of the following exception: Traceback (most recent call last): File "E:\pycharm\PythonProject\测试浏览器指纹.py", line 86, in <module> driver = webdriver.Edge(service=service, options=edge_options) File "E:\python\Lib\site-packages\selenium\webdriver\edge\webdriver.py", line 47, in __init__ super().__init__( ~~~~~~~~~~~~~~~~^ browser_name=DesiredCapabilities.EDGE["browserName"], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<3 lines>... keep_alive=keep_alive, ^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "E:\python\Lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 53, in __init__ if finder.get_browser_path(): ~~~~~~~~~~~~~~~~~~~~~~~^^ File "E:\python\Lib\site-packages\selenium\webdriver\common\driver_finder.py", line 47, in get_browser_path return self._binary_paths()["browser_path"] ~~~~~~~~~~~~~~~~~~^^ File "E:\python\Lib\site-packages\selenium\webdriver\common\driver_finder.py", line 78, in _binary_paths raise NoSuchDriverException(msg) from err selenium.common.exceptions.NoSuchDriverException: Message: Unable to obtain driver for MicrosoftEdge; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location
最新发布
06-07
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值