# Unable to launch opera using watir-webdriver on Windows XP

**URL:** <https://www.ruby-forum.com/t/unable-to-launch-opera-using-watir-webdriver-on-windows-xp/240963>\
**Category:** Ruby\
**Created:** [May 8, 2014, 8:20am UTC](https://www.ruby-forum.com/t/unable-to-launch-opera-using-watir-webdriver-on-windows-xp/240963 "2014-05-08T08:20:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [May 8, 2014, 8:20am UTC](https://www.ruby-forum.com/t/unable-to-launch-opera-using-watir-webdriver-on-windows-xp/240963/1 "2014-05-08T08:20:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![vandanagilani1](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/edb3f5/32.png) [@vandanagilani1](https://www.ruby-forum.com/u/vandanagilani1)\
**Post date:** [May 9, 2014, 12:22am UTC](https://www.ruby-forum.com/t/unable-to-launch-opera-using-watir-webdriver-on-windows-xp/240963/2 "2014-05-09T00:22:21Z")

</div>

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.
