selenium_tools error how to fix?

%3CLINGO-SUB%20id%3D%22lingo-sub-2805561%22%20slang%3D%22en-US%22%3Eselenium_tools%20error%20how%20to%20fix%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2805561%22%20slang%3D%22en-US%22%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3EI%20just%20write%20only%20this%20but%20got%20error%20alot%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%60%60%60%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Efrom%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Emsedge%3C%2FSPAN%3E%3CSPAN%3E.%3C%2FSPAN%3E%3CSPAN%3Eselenium_tools%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Eimport%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3EEdge%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3CSPAN%3EEdgeOptions%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Efrom%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Ecsv%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Eimport%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3EDictReader%3C%2FSPAN%3E%3C%2FDIV%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CDIV%3E%3CSPAN%3Eoptions%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3D%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3EEdgeOptions%3C%2FSPAN%3E%3CSPAN%3E()%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3Eoptions%3C%2FSPAN%3E%3CSPAN%3E.%3C%2FSPAN%3E%3CSPAN%3Euse_chromium%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3D%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3ETrue%3C%2FSPAN%3E%3C%2FDIV%3E%3CBR%20%2F%3E%3CDIV%3E%3CSPAN%3Edriver%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3D%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3EEdge%3C%2FSPAN%3E%3CSPAN%3E(%3C%2FSPAN%3E%3CSPAN%3Eoptions%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3D%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Eoptions%3C%2FSPAN%3E%3CSPAN%3E)%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%60%60%60%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%5B23392%3A25908%3A1002%2F200107.674%3AERROR%3Achrome_browser_main_extra_parts_metrics.cc(250)%5D%20crbug.com%2F1216328%3A%20Checking%20default%20browser%20status%20started.%20Please%20report%20if%20there%20is%20no%20report%20that%20this%20ends.%3CBR%20%2F%3E%5B23392%3A12156%3A1002%2F200107.679%3AERROR%3Adevice_event_log_impl.cc(214)%5D%20%5B20%3A01%3A07.679%5D%20USB%3A%20usb_device_handle_win.cc%3A1048%20Failed%20to%20read%20descriptor%20from%20node%20connection%3A%20A%20device%20attached%20to%20the%20system%20is%20not%20functioning.%20(0x1F)%3CBR%20%2F%3E%5B23392%3A12156%3A1002%2F200107.680%3AERROR%3Adevice_event_log_impl.cc(214)%5D%20%5B20%3A01%3A07.679%5D%20USB%3A%20usb_device_handle_win.cc%3A1048%20Failed%20to%20read%20descriptor%20from%20node%20connection%3A%20A%20device%20attached%20to%20the%20system%20is%20not%20functioning.%20(0x1F)%3CBR%20%2F%3E%5B23392%3A12156%3A1002%2F200107.682%3AERROR%3Adevice_event_log_impl.cc(214)%5D%20%5B20%3A01%3A07.682%5D%20USB%3A%20usb_device_handle_win.cc%3A1048%20Failed%20to%20read%20descriptor%20from%20node%20connection%3A%20A%20device%20attached%20to%20the%20system%20is%20not%20functioning.%20(0x1F)%3CBR%20%2F%3E%5B23392%3A12156%3A1002%2F200107.687%3AERROR%3Adevice_event_log_impl.cc(214)%5D%20%5B20%3A01%3A07.686%5D%20USB%3A%20usb_device_handle_win.cc%3A1048%20Failed%20to%20read%20descriptor%20from%20node%20connection%3A%20A%20device%20attached%20to%20the%20system%20is%20not%20functioning.%20(0x1F)%3CBR%20%2F%3E%5B23392%3A12156%3A1002%2F200107.695%3AERROR%3Adevice_event_log_impl.cc(214)%5D%20%5B20%3A01%3A07.694%5D%20USB%3A%20usb_device_handle_win.cc%3A1048%20Failed%20to%20read%20descriptor%20from%20node%20connection%3A%20A%20device%20attached%20to%20the%20system%20is%20not%20functioning.%20(0x1F)%20%26gt%3B%20%26amp%3B%20C%3A%2FUsers%2Fgodja%2FAppData%2FLocal%2FPrograms%2FPython%2FPython39%2Fpython.exe%20%22c%3A%2FBot%2Fbot%20drop%2Frun.py%22%3CBR%20%2F%3E%5B23392%3A25908%3A1002%2F200107.708%3AERROR%3Achrome_browser_main_extra_parts_metrics.cc(254)%5D%20crbug.com%2F1216328%3A%20Checking%20default%20browser%20status%20ended.%3CBR%20%2F%3EDevTools%20listening%20on%20ws%3A%2F%2F127.0.0.1%3A13451%2Fdevtools%2Fbrowser%2F6602e511-580f-40b2-8278-a3b516d568efes%20not%20have%20campaigns.%20%5Bobject%20Object%5D%20Sat%20Oct%2002%202021%2020%3A01%3A27%20GMT%2B0700%20(Indochina%20Time)%22%2C%20source%3A%20%3CA%20href%3D%22https%3A%2F%2FassePS%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2FassePS%3C%2FA%3E%20C%3A%5CBot%5Cbot%20drop%26gt%3B%20%5B8860%3A4732%3A1002%2F201105.665%3AERROR%3Achrome_browser_main_extra_parts_metrics.cc(250)%5D%20crbug.com%2F1216328%3A%20Checking%20default%20browser%20status%20started.%20Please%20report%20if%20there%20is%20no%20report%20that%20this%3CBR%20%2F%3Eends.2%3A25904%3A1002%2F200306.056%3AERROR%3Agpu_init.cc(458)%5D%20Passthrough%20is%20not%20supported%2C%20GL%20is%20disabled%2C%20ANGLE%20is%3CBR%20%2F%3E%5B8860%3A20376%3A1002%2F201105.671%3AERROR%3Adevice_event_log_impl.cc(214)%5D%20%5B20%3A11%3A05.672%5D%20USB%3A%20usb_device_handle_win.cc%3A1048%20Failed%20to%20read%20descriptor%20from%20node%20connection%3A%20A%20device%20attached%20to%20the%20system%20is%20not%20functioning.%20(0x1F)%3CBR%20%2F%3E%5B8860%3A20376%3A1002%2F201105.673%3AERROR%3Adevice_event_log_impl.cc(214)%5D%20%5B20%3A11%3A05.674%5D%20USB%3A%20usb_device_handle_win.cc%3A1048%20Failed%20to%20read%20descriptor%20from%20node%20connection%3A%20A%20device%20attached%20to%20the%20system%20is%20not%20functioning.%20(0x1F)%3CBR%20%2F%3E%5B8860%3A20376%3A1002%2F201105.674%3AERROR%3Adevice_event_log_impl.cc(214)%5D%20%5B20%3A11%3A05.675%5D%20USB%3A%20usb_device_handle_win.cc%3A1048%20Failed%20to%20read%20descriptor%20from%20node%20connection%3A%20A%20device%20attached%20to%20the%20system%20is%20not%20functioning.%20(0x1F)%3CBR%20%2F%3E%5B8860%3A20376%3A1002%2F201105.675%3AERROR%3Adevice_event_log_impl.cc(214)%5D%20%5B20%3A11%3A05.675%5D%20USB%3A%20usb_device_handle_win.cc%3A1048%20Failed%20to%20read%20descriptor%20from%20node%20connection%3A%20A%20device%20attached%20to%20the%20system%20is%20not%20functioning.%20(0x1F)%3CBR%20%2F%3E%5B8860%3A20376%3A1002%2F201105.681%3AERROR%3Adevice_event_log_impl.cc(214)%5D%20%5B20%3A11%3A05.681%5D%20USB%3A%20usb_device_handle_win.cc%3A1048%20Failed%20to%20read%20descriptor%20from%20node%20connection%3A%20A%20device%20attached%20to%20the%20system%20is%20not%20functioning.%20(0x1F)%3CBR%20%2F%3E%5B8860%3A4732%3A1002%2F201105.709%3AERROR%3Achrome_browser_main_extra_parts_metrics.cc(254)%5D%20crbug.com%2F1216328%3A%20Checking%20default%20browser%20status%20ended.%3CBR%20%2F%3E%5B8860%3A20376%3A1002%2F201111.090%3AERROR%3ACONSOLE(1)%5D%20%22PSL%3A%20window.chrome.ntpSettingsPrivate.getPref%20does%20not%20have%20campaigns.%20%5Bobject%20Object%5D%20Sat%20Oct%2002%202021%2020%3A11%3A11%20GMT%2B0700%20(Indochina%20Time)%22%2C%20source%3A%20%3CA%20href%3D%22https%3A%2F%2Fassets.msn.com%2Fbundles%2Fv1%2FedgeChromium%2Flatest%2Fvendors.6cf643bd90ff961f1939.js%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fassets.msn.com%2Fbundles%2Fv1%2FedgeChromium%2Flatest%2Fvendors.6cf643bd90ff961f1939.js%3C%2FA%3E%20(1)%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%60%60%60%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%60%60%60%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2835462%22%20slang%3D%22en-US%22%3ERe%3A%20selenium_tools%20error%20how%20to%20fix%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2835462%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1172988%22%20target%3D%22_blank%22%3E%40Jacky011%3C%2FA%3E%2C%20I%20have%20been%20seeing%20a%20growing%20number%20of%20error%20messages%20from%20the%20Selenium%20Chromedriver%2C%20including%20the%20one%20you%20show.%20The%20instructions%20at%20%3CA%20href%3D%22https%3A%2F%2Fstackoverflow.com%2Fquestions%2F69441767%2Ferror-using-selenium-chrome-webdriver-with-python%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F69441767%2Ferror-using-selenium-chrome-webdriver-with-python%3C%2FA%3E%20suppressed%20the%20irrelevant%20messages.%20My%20code%20was%20creating%20the%20webdriver%20instance%20and%20passing%20the%20location%20of%20chromedriver.exe.%20I%20added%20the%20options%3D%20and%20options.add%20lines%20first%2C%20then%20added%20%22%2C%20options%3Doptions%22%20to%20the%20line%20where%20I%20created%20the%20webdriver%20instance.%3C%2FLINGO-BODY%3E
New Contributor
I just write only this but got error alot
```
from msedge.selenium_tools import Edge,EdgeOptions
from csv import DictReader


options = EdgeOptions()
options.use_chromium = True

driver = Edge(options = options)
```
[23392:25908:1002/200107.674:ERROR:chrome_browser_main_extra_parts_metrics.cc(250)] crbug.com/1216328: Checking default browser status started. Please report if there is no report that this ends.
[23392:12156:1002/200107.679:ERROR:device_event_log_impl.cc(214)] [20:01:07.679] USB: usb_device_handle_win.cc:1048 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
[23392:12156:1002/200107.680:ERROR:device_event_log_impl.cc(214)] [20:01:07.679] USB: usb_device_handle_win.cc:1048 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
[23392:12156:1002/200107.682:ERROR:device_event_log_impl.cc(214)] [20:01:07.682] USB: usb_device_handle_win.cc:1048 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
[23392:12156:1002/200107.687:ERROR:device_event_log_impl.cc(214)] [20:01:07.686] USB: usb_device_handle_win.cc:1048 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
[23392:12156:1002/200107.695:ERROR:device_event_log_impl.cc(214)] [20:01:07.694] USB: usb_device_handle_win.cc:1048 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F) > & C:/Users/godja/AppData/Local/Programs/Python/Python39/python.exe "c:/Bot/bot drop/run.py"
[23392:25908:1002/200107.708:ERROR:chrome_browser_main_extra_parts_metrics.cc(254)] crbug.com/1216328: Checking default browser status ended.
DevTools listening on ws://127.0.0.1:13451/devtools/browser/6602e511-580f-40b2-8278-a3b516d568efes not have campaigns. [object Object] Sat Oct 02 2021 20:01:27 GMT+0700 (Indochina Time)", source: https://assePS C:\Bot\bot drop> [8860:4732:1002/201105.665:ERROR:chrome_browser_main_extra_parts_metrics.cc(250)] crbug.com/1216328: Checking default browser status started. Please report if there is no report that this
ends.2:25904:1002/200306.056:ERROR:gpu_init.cc(458)] Passthrough is not supported, GL is disabled, ANGLE is
[8860:20376:1002/201105.671:ERROR:device_event_log_impl.cc(214)] [20:11:05.672] USB: usb_device_handle_win.cc:1048 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
[8860:20376:1002/201105.673:ERROR:device_event_log_impl.cc(214)] [20:11:05.674] USB: usb_device_handle_win.cc:1048 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
[8860:20376:1002/201105.674:ERROR:device_event_log_impl.cc(214)] [20:11:05.675] USB: usb_device_handle_win.cc:1048 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
[8860:20376:1002/201105.675:ERROR:device_event_log_impl.cc(214)] [20:11:05.675] USB: usb_device_handle_win.cc:1048 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
[8860:20376:1002/201105.681:ERROR:device_event_log_impl.cc(214)] [20:11:05.681] USB: usb_device_handle_win.cc:1048 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
[8860:4732:1002/201105.709:ERROR:chrome_browser_main_extra_parts_metrics.cc(254)] crbug.com/1216328: Checking default browser status ended.
[8860:20376:1002/201111.090:ERROR:CONSOLE(1)] "PSL: window.chrome.ntpSettingsPrivate.getPref does not have campaigns. [object Object] Sat Oct 02 2021 20:11:11 GMT+0700 (Indochina Time)", source: https://assets.msn.com/bundles/v1/edgeChromium/latest/vendors.6cf643bd90ff961f1939.js (1)
```
 
@selenium
1 Reply
@Jacky011, I have been seeing a growing number of error messages from the Selenium Chromedriver, including the one you show. The instructions at https://stackoverflow.com/questions/69441767/error-using-selenium-chrome-webdriver-with-python suppressed the irrelevant messages. My code was creating the webdriver instance and passing the location of chromedriver.exe. I added the options= and options.add lines first, then added ", options=options" to the line where I created the webdriver instance.