completely new to this and trying to set up the very basics to be able to control Selenium Webdriver.
Windows 7, installed Ruby 2.1.5
, Selenium-WebDriver 2.45.0
and currently Firefox 33
. (I have previously tried Firefox 37, 36, and 35 with the same results eventually finding a stack over flow question where the resolution seemed to be using Firefox 33 would def work).
When I run driver = Selenium::WebDriver.for :firefox
in the irb, it opens an instance of firefox but then eventually throws the below error.
irb(main):005:0> driver = Selenium::WebDriver.for :firefox Selenium::WebDriver::Error::WebDriverError: unable to obtain stable firefox conn ection in 60 seconds (127.0.0.1:7055) from C:/Ruby21/lib/ruby/gems/2.1.0/gems/selenium-webdriver-2.45.0/lib/se lenium/webdriver/firefox/launcher.rb:79:in
connect_until_stable' from C:/Ruby21/lib/ruby/gems/2.1.0/gems/selenium-webdriver-2.45.0/lib/se lenium/webdriver/firefox/launcher.rb:37:in
block in launch' from C:/Ruby21/lib/ruby/gems/2.1.0/gems/selenium-webdriver-2.45.0/lib/se lenium/webdriver/firefox/socket_lock.rb:20:inlocked' from C:/Ruby21/lib/ruby/gems/2.1.0/gems/selenium-webdriver-2.45.0/lib/se lenium/webdriver/firefox/launcher.rb:32:in
launch' from C:/Ruby21/lib/ruby/gems/2.1.0/gems/selenium-webdriver-2.45.0/lib/se lenium/webdriver/firefox/bridge.rb:24:ininitialize' from C:/Ruby21/lib/ruby/gems/2.1.0/gems/selenium-webdriver-2.45.0/lib/se lenium/webdriver/common/driver.rb:31:in
new' from C:/Ruby21/lib/ruby/gems/2.1.0/gems/selenium-webdriver-2.45.0/lib/se lenium/webdriver/common/driver.rb:31:infor' from C:/Ruby21/lib/ruby/gems/2.1.0/gems/selenium-webdriver-2.45.0/lib/se lenium/webdriver.rb:67:in
for' from (irb):5 from C:/Ruby21/bin/irb:11:in `'
FYI: ` * LOCAL GEMS *
bigdecimal (1.2.4) childprocess (0.5.6) ffi (1.9.8 x86-mingw32) io-console (0.4.2) json (1.8.1) minitest (4.7.5) multi_json (1.11.0) psych (2.0.5) rake (10.1.0) rdoc (4.1.0) rubyzip (1.1.7) selenium-webdriver (2.45.0) test-unit (2.1.5.0) websocket (1.2.1)`
Any help much appreciated.
EDIT: sorry - running Ruby 2.1.5