tags:

views:

36

answers:

1

Dear all,

I am a Selenium (Ruby) newbie.

I am trying to launch google homepage as below:

@selenium = Selenium::SeleniumDriver.new("localhost", 4444, "*firefox", "http://www.google.com", 10000); @selenium.start

However, after the script runs, it launches firefox with below URL:

http://localhost:4444/selenium-server/core/Blank.html?start=true

I am unable to figure out the reason.

Guys please help me out.

Regards, Nilesh

A: 

i think you need the keys for your hash, eg

Selenium::Client::Driver.new(:host => 'localhost', :port => 4444, etc)
Jed Schneider