Answers for "cannot find opera binary selenium python"

0

cannot find opera binary selenium python

from selenium import webdriver
from selenium.webdriver.opera.options import Options

options = Options()
options.binary_location = r'C:\path\to\opera.exe'
driver = webdriver.Opera(opera_options = options, executable_path=r'C:\Utility\BrowserDrivers\operadriver.exe')
driver.get('http://www.google.com')
Posted by: Guest on December-04-2020

Python Answers by Framework

Browse Popular Code Answers by Language