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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
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.
This topic is locked and can not be replied to.