You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get This Error driver = webdriver.Remote(webdriver_service.service_url, webdriver.DesiredCapabilities.OPERA) AttributeError: type object 'DesiredCapabilities' has no attribute 'OPERA'
#103
Open
ALEXDINO7 opened this issue
Sep 19, 2022
· 1 comment
Os => kali linux
Used Code
import time
from selenium import webdriver
from selenium.webdriver.chrome import service
webdriver_service = service.Service('path/to/operadriver')
webdriver_service.start()
driver = webdriver.Remote(webdriver_service.service_url, webdriver.DesiredCapabilities.OPERA)
driver.get('https://www.google.com/')
input_txt = driver.find_element_by_name('q')
input_txt.send_keys('operadriver\n')
time.sleep(5) #see the result
driver.quit()
The text was updated successfully, but these errors were encountered: