while running selenium program I "got class not registered"

0
from selenium import webdriver

driver = webdriver.Chrome()
driver.get('https://youtube.com')
searchbox = driver.find_element_by_xpath('/html/body/ytd-app/div/div/ytd-masthead/div[3]/div[2]/ytd-searchbox/form/div/div[1]/input')
searchbox.send_keys('onedirection')
searchButton = driver.find_element_by_xpath('//*[@id="search-icon-legacy"]/yt-icon')
searchButton.click()

errors: DevTools listening on ws://127.0.0.1:60787/devtools/browser/cf0e349f-7f12-4a0a-b908-6f97e183ab8e [8524:7008:0819/010151.241:ERROR:device_event_log_impl.cc(208)] [01:01:51.241] Bluetooth: bluetooth_adapter_winrt.cc:736 GetBluetoothAdapterStaticsActivationFactory failed: Class not registered (0x80040154)

[1]: emphasized text https://i.stack.imgur.com/xgept.png

selenium
class
selenium-chromedriver
asked on Stack Overflow Aug 18, 2020 by Prajwal Banagar • edited Aug 19, 2020 by arundeep chohan

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0