OperaChromiumDriver
Intro
OperaChromiumDriver is a WebDriver implementation derived from ChromeDriver and adapted by Opera that enables programmatic automation of Chromium-based Opera products for desktop and Android platforms. It is a part of the Selenium project.
WebDriver is a general purpose library for automating web browsers. It 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 reporting results back to you so you know that your website works as intended.
OperaChromiumDriver end-user emulation ensures that your entire stack (HTML, scripts, styling, embedded resources and backend setup) is functioning correctly without tedious manual testing routines.
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.
Sources
OperaChromiumDriver is based on ChromeDriver. The plan is to extract Opera-specific code and to generalize those parts of the code that could handle any Chromium-embedding browser. This code is going to be upstreamed to Chromium soon.
Once that is done, the remaining OperaChromiumDriver source code (using ChromeDriver code as a module) will be posted to this repository.
Binaries
Binaries are available under the releases tab.
Documentation
Documentation on how to use the OperaChromiumDriver is included in this repository. It can be used with Selenium bindings โ there are instructions on how to use Python Selenium bindings for Opera browsers running on desktop and Android.
OperaChromiumDriver also may be used with Appium which enables context switching between UI and the web. It is very helpful when you need to close the native dialog which blocks further test execution. For instructions on how to use OperaChromiumDriver with Appium see appium.md.
Some Python examples are available as well.