cannot find opera binary selenium python

Solutions on MaxInterview for cannot find opera binary selenium python by the best coders in the world

showing results for - "cannot find opera binary selenium python"
Alex
10 Nov 2019
1from selenium import webdriver
2from selenium.webdriver.opera.options import Options
3
4options = Options()
5options.binary_location = r'C:\path\to\opera.exe'
6driver = webdriver.Opera(opera_options = options, executable_path=r'C:\Utility\BrowserDrivers\operadriver.exe')
7driver.get('http://www.google.com')
8