Failed to read descriptor from node connection: A device attached to the system is not functioning error using ChromeDriver Selenium on Windows OS

This is a chromedriver issue that they’re still working the kinks out of. I’m not entirely sure what’s causing it, but the technical details seem to be detailed in Debanjan’s answer.

The general solution on the internet just seems to be “ignore it”, but it sure clutters up the logs a lot.

I did find a way to get it to shut up though (as well as the “DevTools” warning that pops up a lot as well).

options = webdriver.ChromeOptions()
options.add_experimental_option('excludeSwitches', ['enable-logging'])
driver = webdriver.Chrome(options=options)

You can add your other chromedriver options and switches onto that as well, in addition to pointing to your chromedriver executable if you wish.

Leave a Comment