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: -
- If there is no Opera driver for Selenium, then how does one automate Opera tests?
- 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?
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:
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.
Download OperaDriver from here and write the following code for java:
1 & 2)
There are 2 types of Opera - Java Based and Chrominium based.
The provided links are for Java based Opera.
https://github.com/operasoftware/operadriver#desktop
There is no official support for latest Opera versions.