Unable to launch Opera using Python Selenium
问题 I am trying to launch opera using python selenium libraries. But getting capabilities error. Codes I have tried: Code1: driver = webdriver.Opera() driver.get('https://www.google.com') Code2: driver = webdriver.Opera(r'path to operadriver.exe') driver.get('https://www.google.com') Code3: options = Options() options.binary_location = r'C:\Opera\launcher.exe' driver = webdriver.Opera(options=options) driver.get('https://www.google.com') Output: Code1: selenium.common.exceptions