Failed to read descriptor from node connection error with Selenium/Chrome Webdriver

0

when I run the code below on VSCode I get an error like this

ERROR:device_event_log_impl.cc(215)] [11:32:41.457] USB: usb_device_handle_win.cc:1045 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)

my code is

from selenium import webdriver

from selenium.webdriver.common.by import By

import time

driver = webdriver.Chrome()

driver.get(“https://duckduckgo.com”)

time.sleep(5)

Same issue with node + selenium + chrome. No ideas to solve yet.

I googled the error for you and found this SO answer. I would suggest directing further questions to Selenium/Chrome Webdriver, as this is a confirmed issue with that package/projects rather than anything to do with Python itself (which this Discourse instance is for). Best of luck!