operasoftware / operaprestodriver

OperaPrestoDriver is a vendor-supported WebDriver implementation that enables programmatic automation of Presto-based Opera products (i.e. v12 and older).
http://code.google.com/p/selenium/wiki/OperaDriver
Apache License 2.0
149 stars 65 forks source link

Automated installation of Opera 12 extensions through operaProfile.addExtension(File) #93

Closed Rob--W closed 11 years ago

Rob--W commented 11 years ago

Fixes #60

The method has the signature addExtension(File) to be consistent with the FirefoxDriver.

Besides implementing the feature, I have also updated the code of the webserver, because it prevented me from running tests. Apparently, the webbit API changed 4 months ago, without remaining backwards-compatible.

I've included a test that passes, so installation of an Opera extension succeeds. Not included in the test suit, but confirmed to work is the use of the Remote WebDriver with a custom extension.

Details:

andreastt commented 11 years ago

Sorry for the late follow up on this, but I've integrated this patch and prepared it for the next release. Thanks!