相关疑难解决方法(0)

无法从节点连接读取描述符:在 Windows 操作系统上使用 ChromeDriver Selenium 时,连接到系统的设备无法运行错误

我在 python 中运行 selenium webdriver 脚本时得到了这个我还在系统环境中设置了路径,并尝试下载与我的 chrome 版本匹配的 webdriver。而且也是letest版本。但我仍然收到此错误:

[8552:6856:1120/155118.770:ERROR:device_event_log_impl.cc(211)] [15:51:18.771] USB: usb_device_handle_win.cc:1020 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
[8552:6856:1120/155118.774:ERROR:device_event_log_impl.cc(211)] [15:51:18.774] USB: usb_device_handle_win.cc:1020 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
[8552:6856:1120/155118.821:ERROR:device_event_log_impl.cc(211)] [15:51:18.821] USB: usb_device_handle_win.cc:1020 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
Run Code Online (Sandbox Code Playgroud)

我在我的代码中使用了这个:

driver = webdriver.Chrome(resource_path("C:\\webdriver\\chromedriver.exe"))  # to open the …
Run Code Online (Sandbox Code Playgroud)

python selenium google-chrome selenium-chromedriver windows-10

28
推荐指数
4
解决办法
5万
查看次数

错误:device_event_log_impl.cc(211)] USB:usb_device_handle_win.cc:1020 无法从节点连接读取描述符:

在 selenium 自动化的可视化代码中使用行为框架运行 Python 代码时

日志是:

DevTools 侦听 ws://127.0.0.1:57159/devtools/browser/4787574a-1842-48dd-a69e-919739ddf21a [14332:16524:1120/113508.444:event.imple1444_811imple.444_81008.444_81log13_444_810.0.0.0.444_810.0.0.0.444_8.0.0.0.1.444_810.0.0.0.1.444_1842-48dd-a69e-919739ddf21a ] USB:usb_device_handle_win.cc:1020 无法从节点连接读取描述符:连接到系统的设备未运行。(0x1F) [14332:16524:1120/113508.446:ERROR:device_event_log_impl.cc(211)] [11:35:08.447] USB: usb_device_handle_win.cc:1020 无法从节点连接读取描述符:一个设备连接到系统不运作。(0x1F) [14332:16524:1120/113508.478:ERROR:device_event_log_impl.cc(211)] [11:35:08.478] USB: usb_device_handle_win.cc:1020 无法从系统连接中读取描述符:设备连接到系统不运作。(0x1F) [6492:11676:1120/113533.910:ERROR:ssl_client_socket_impl.cc(960)] 握手失败;返回 -1,SSL 错误代码 1,net_error -113 [6492:11676:1120/113533.998:ERROR:ssl_client_socket_impl.cc(960)] 握手失败;返回 -1,SSL 错误代码 1,net_error -113在此处输入图片说明

python selenium-chromedriver selenium-webdriver python-behave visual-studio-code

10
推荐指数
0
解决办法
5928
查看次数