The following errors are encountered during the automatic test:
[6452:9780:0415/100836.539: error: device_event_log_impl. CC (214)] [10:08:36.526] USB: USB_ device_ handle_ win.cc:1056 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
The problem was triggered by chrome trying to read the properties of the currently suspended USB device. It is said that the next version of chrome will solve this problem. At present, no effective method has been found, so we can only ignore this error report. The implementation method is as follows:
1 options=webdriver.ChromeOptions() 2 3 # omit... 4 options.add_experimental_option("excludeSwitches", ['enable-automation', 'enable-logging']) 5 driver=webdriver.Chrome(chrome_options=options) 6 driver.get(r'https://192.168.1.1')
Similar Posts:
- Selenium Error: Message: unknown error: cannot find Chrome binary
- selenium.common.exceptions.WebDriverException: Message: unknown Error: cannot find Chrome binary
- Mac environment and python + selenium environment are built to solve the error reporting problem of chromedriver
- How to Solve centos7 selenium–unknown error: DevToolsActivePort file doesn’t exist
- [Solved] Chrome Version Error: Message: session not created: This version of ChromeDriver only supports Chrome version 95
- [Two Solutions] Syntax error: unexpected token import
- Chromedriver executable needs to be in path [How to Solve]
- Message: ‘geckodriver’ executable needs to be in PATH. [Solved]
- [Solved] Appium Error: selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Can’t stop process; it’s not currently runni…
- Solve the certificate problem of Chrome 70 and above: Failed to load resource: net::ERR_CERT_SYMANTEC_LEGACY