Forum: Ruby Unable to launch opera using watir-webdriver on Windows XP

4c432a8d43e824241a2c1c13d9d2df60?d=identicon&s=25 vandana gilani (vandanagilani1)
on 2014-05-08 08:20
Hi,

I am trying to launch Opera on Windows XP , but instead of launching
opera it launches IE.

I also downloaded the selenium standalone jar and saved it in
C:/Ruby/Bin and also created environment variable SELENIUM_SERVER_JAR .

Below is the code that I am using to launch opera:

require 'rubygems'
require 'watir-webdriver'
b=Watir::Browser.new :opera

The Versions of various applications is as below:

Opera Version 12
watir-webdriver (0.5.4)
selenium-webdriver (2.35)
selenium-server-standalone-2.35.0.jar

Thanks,
Vandana
14b5582046b4e7b24ab69b7886a35868?d=identicon&s=25 Joel Pearson (virtuoso)
on 2014-05-09 00:22
It works for me with:

Windows 7 x64
Opera 12.17
watir-webdriver (0.6.9)
selenium-webdriver (2.41.0)
selenium-server-standalone-2.41.0.jar

Make sure you use the latest versions of everything except Opera itself,
which must be version 12.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.