Programming/Framework & Libraries

[Selenium] selenium 디버깅시 "Failed to read descriptor from node connection: 시스템에 부착된 장치가 작동하지 않습니다."라는 에러로그가 찍히는 문제 (with Python)

progrunman 2022. 4. 17. 18:34

https://stackoverflow.com/questions/65080685/usb-usb-device-handle-win-cc1020-failed-to-read-descriptor-from-node-connectio/65134639#65134639

 

USB: usb_device_handle_win.cc:1020 Failed to read descriptor from node connection error with ChromeDriver v87 / Chrome v87 using

We recently upgraded our Windows 10 test environment with ChromeDriver v87.0.4280.20 and Chrome v87.0.4280.66 (Official Build) (64-bit) and after the up-gradation even the minimal program is produc...

stackoverflow.com

 

Windows나 Chrome 관련 이슈인듯 하다.

software적인 문제는 아니기 때문에 Windows나 Chrome에서 업데이트로 해결될때까진 무시하거나

아래와 같이 log를 아예 제외시키는 방법도 있을것 같다. (하지만 정작 중요한 log까지 무시되버린다면?)

 

options = webdriver.ChromeOptions() 
# to supress the error messages/logs
options.add_experimental_option('excludeSwitches', ['enable-logging'])