mercredi 17 février 2021

How to fix Getting Default Adapter failed

I am trying to test Youtube site. here is my code:

from selenium import webdriver
driver = webdriver.Chrome(executable_path="C:/Users/BEKA/Desktop/chromedriver.exe")
driver.get("https://www.youtube.com")

driver.find_element_by_id("search").send_keys("Moives")

here is my error:

DevTools listening on ws://127.0.0.1:50252/devtools/browser/e76995f8-c544-4302-ac2e-081fa73edff6
[11788:6272:0217/210544.925:ERROR:device_event_log_impl.cc(211)] [21:05:44.925] Bluetooth: 
bluetooth_adapter_winrt.cc:1072 Getting Default Adapter failed.

There is similar question on Stackoverflow but I did everything and still fail. Google Chrome version is 88, chromedriver is for chrome 88 version and selenium is 3.141.0

Aucun commentaire:

Enregistrer un commentaire