웹 크롤링, 스크래핑
[Selenium] ERROR:device_event_log_impl.cc(214)] [20:37:06.314] USB: usb_device_handle_win.cc:1048 Failed to read descriptor from node connection: 시스템에 부착된 장치가 작동하지 않습니다.
수알치
2022. 7. 3. 20:42
[Selenium] ERROR:device_event_log_impl.cc(214)] [20:37:06.314] USB: usb_device_handle_win.cc:1048 Failed to read descriptor from node connection: 시스템에 부착된 장치가 작동하지 않습니다. 에러 금지하기
[해결]
다음처럼 옵션 설정을 하면 해당 에러가 사라진다.
options = webdriver.ChromeOptions()
options.add_experimental_option("excludeSwitches", ["enable-logging"])
browser = webdriver.Chrome(options=options)
# browser = webdriver.Chrome("./chromedriver.exe", options=options)
반응형