Unable to launch opera using watir-webdriver on Windows XP


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)


It works for me with:

Windows 7 x64
Opera 12.17
watir-webdriver (0.6.9)
selenium-webdriver (2.41.0)

Make sure you use the latest versions of everything except Opera itself,
which must be version 12.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs