For the following code I receive the immediate following errors:
Code:
const { Builder } = require('selenium-webdriver');
const chrome = require('selenium-webdriver/chrome');
(async function firstScript() {
let driver, service;
service = new chrome.ServiceBuilder('../config/chromedriver.exe');
driver = await new Builder().forBrowser('chrome').setChromeService(service).build();
})();
Error
[28396:19016:0525/185240.960:ERROR:device_event_log_impl.cc(214)] [18:52:40.966] USB: usb_device_handle_win.cc:1049 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
[28396:19016:0525/185240.960:ERROR:device_event_log_impl.cc(214)] [18:52:40.966] USB: usb_device_handle_win.cc:1049 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)