Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 Presto-based Operas up until 12.16. Blink-based Operas (15 and onwards) are not supported.

Opera is now up to version 22.0, so far beyond the maximum supported version of 12. So, my questions are: -

  1. If there is no Opera driver for Selenium, then how does one automate Opera tests?
  2. It seems strange to stop at version 12, even taking the underlying technology change into account. Is Opera support waning or is it that Selenium WebDriver is no longer the best tool?
like image 326
acarlon Avatar asked Jul 13 '14 03:07

acarlon


People also ask

Does selenium work with Opera?

Quick Reference. Note: The Opera driver no longer works with the latest functionality of Selenium and is currently officially unsupported.

How do I open Opera browser in selenium?

Opera WebDriver for Selenium – Download the Opera WebDriver executable that matches the version of the Selenium Opera Python version installed on the machine [link]. Copy the WebDriver file [operadriver.exe] in the location where the Opera browser [opera.exe] is present.

What is browser driver selenium?

Definition: Selenium WebDriver is a collection of open source APIs which are used to automate the testing of a web application. Description: Selenium WebDriver tool is used to automate web application testing to verify that it works as expected. It supports many browsers such as Firefox, Chrome, IE, and Safari.

How many types of Web Drivers are available in selenium?

There are four basic components of WebDriver Architecture: Selenium Language Bindings. JSON Wire Protocol. Browser Drivers.


1 Answers

Opera has just released an early beta of WebDriver for their Blink based browsers. See https://github.com/operasoftware/operachromiumdriver

To quote from the link provided:

OperaChromiumDriver can be used without extra setup on Chromium-based versions of Opera starting from version 26. For driving Presto-based Opera browsers, refer to the OperaPrestoDriver project.

Although versions earlier than 26 aren't officially supported, the OperaChromiumDriver v. 0.1.0 works with Opera 25. On Windows using the 'binary' option in 'operaOptions' may be needed.

like image 90
Ela Makiej Avatar answered Nov 16 '22 00:11

Ela Makiej