1

I am trying to get Opera to work but there is always an error

I followed this thread, and have exactly the same issues Unable to launch Opera using Python Selenium They didn't solve the problem

Then same OP did this URL opening fails with Opera using python selenium library and was closed because of reposting the same issue (was not the same issue, now it has another error)

this time is this one:

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

options = Options() 
options.binary_location = OperaPath #path to .exe 
driver = webdriver.Opera(options=options, executable_path= OperaPath) 

Opera.exe unexpectedly exited. Status code was: 0

operadriver=86.0.4240.80

Opera 72

Windows 10, 64 bits

Python 3.8.1

arioman
  • 87
  • 5

0 Answers0