Questions tagged [operadriver]

WebDriver implementation developed by Opera Software

OperaDriver is a vendor-supported WebDriver implementation developed by Opera Software and volunteers that implements WebDriver for Opera.

OperaDriver can drive the browser running various tests on your web pages, just as if a real user was navigating through them. It can emulate actions like clicking links, entering text and submitting forms, and reports results back to you so you know your website works as intended.

23 questions
14
votes
3 answers

Selenium WebDriver and Opera Driver

I would like to run my Selenium WebDriver tests on Opera, but when I had a look at the Opera driver at Selenium HQ and GitHub page, it says: Opera Driver requires Opera 12.x and older versions Note that OperaDriver is only compatible with…
acarlon
  • 16,764
  • 7
  • 75
  • 94
5
votes
1 answer

OperaDriver getting timed out waiting for opera launcher

I am trying to integrate OperaDriver for Java (ver. 0.11) into my test suite. Here's the code snippet: DesiredCapabilities operaCapabilities = DesiredCapabilities.opera(); operaCapabilities.setCapability("opera.host", "127.0.0.1"); …
Ashwin Prabhu
  • 9,285
  • 5
  • 49
  • 82
4
votes
1 answer

Selenium test fails to start using operadriver

My cross browser test fails only for opera driver since it is working with all the other drivers (chrome, firefox and ie). Here is the java code. System.setProperty("webdriver.opera.driver", "...\\operadriver.exe"); driver = new OperaDriver();…
Sudeep
  • 43
  • 4
1
vote
0 answers

Opera webdriver, Selenium 4 and javaScript

I read that Opera can be launched using chrome.Options(): https://github.com/SeleniumHQ/selenium/issues/10835#issuecomment-1219801825 But these tips didn't help, when launching it writes: SessionNotCreatedError: session not created: Missing or…
Maxim G
  • 11
  • 2
1
vote
0 answers

Opera Driver Unsupported Command-Line Flag with Selenium

I am using the current opera driver with Selenium for testing of a website (so that we can support Opera as an approved browser for our website). I code in C#. When I open Opera I get a popup at the top of the screen that states: You are using an…
Ken B
  • 243
  • 1
  • 4
  • 16
1
vote
0 answers

C#: Issue with Opera 58.x | operadriver 2.42 | Selenium 3.141 - Opera not reachable

I've been doing product development and testing for the past 10 years and took over our company's R&D selenium testing for one of our products a couple years ago. I'm in the process of updating our C# test framework that tests our product's…
1
vote
1 answer

Selenium with Python- Message: 'operadriver' executable needs to be in PATH

Checking whether a website loads in opera using selenium with python, using the code below: def test_opera_compatability(self): driver = webdriver.Opera("functional_tests/operadriver") driver.get("https://www.google.com/") …
Avin Mathew
  • 336
  • 11
  • 25
1
vote
1 answer

Problem with running Opera browser using Selenium through webdrivermanager

I've got a problem with Opera browser using Selenium. To download browser binaries I'm using webdrivermanager plugin(https://github.com/bonigarcia/webdrivermanager) This is a enum to implement different types of browsers: public enum DriverType…
jamal
  • 43
  • 6
1
vote
2 answers

selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Opera binary with OperaDriver Selenium and Python

I just tried to get an easy Python script to work, which should only open up google. I installed selenium with pip and placed the operadriver, downloaded from the selenium page, into my python path. Also watched many videos about it, but I can't…
1
vote
2 answers

Issues with latest version of Opera and it's driver

Based on my previous issue, I downgraded Opera to V40, since yesterday I'm having issues with button clicks and switching to iframe etc.. So I upgraded Opera to v44 and downloaded latest version of Operadriver v2.27 for windows 64 from…
Sudeepthi
  • 494
  • 4
  • 20
1
vote
0 answers

selenium's webdriver.Opera() gives error: session not created exception from unknown error: Runtime.executionContextCreated has invalid 'context'

I'm trying to open url in Opera browser using selenium. I downloaded operadriver 0.2.2 from here https://github.com/operasoftware/operachromiumdriver/releases Here is python code opera.py: #! coding: utf:8 from selenium import webdriver driver =…
pupadupa
  • 1,530
  • 2
  • 17
  • 29
1
vote
2 answers

opera driver is not working with Selenium - Java

I'm writing cross browser test script using Selenium web driver - Java. My firefox, chrome and IE browsers are opening and successfully running the script. But, in opera, only the browser is opening. Even driver.manage().window().maximize(); also…
Manuli
  • 1,203
  • 4
  • 20
  • 43
1
vote
1 answer

OperaDriver fails to start

There was an update last week for Opera browser. Since then it stopped working. It opens the browser and shows 'data:,' in the URL and throws webdriver exception. Is Opera 41 compatible with selenium 2.53.1? Exception thrown is: Result Message:…
Sudeepthi
  • 494
  • 4
  • 20
0
votes
0 answers

How do I launch opera browser using selenium?

I am trying to launch a site on the opera browser using the selenium java. I have tried the code below but I get an error that it is deprecated. Please I need update on how to go about this. package donald; // Importing All Necessary Items import…
0
votes
1 answer

AttributeError: 'Service' object has no attribute 'process' error using Opera browser with Selenium and Python3

I'm using the latest version of Opera - version 95.0.4635.46 (x86_64), which is based on Chromium version:109.0.5414.120 and chrome driver version 109.0.5414.74. When I run the following code on macOS: import time from selenium import…
1
2