Watir issue. cant move forward in irb
- by user1033392
Hello i'am using windows 7 and i wish to use watir-webdriver with ruby 1.9.2. Please tell me why i get this:
C:\>irb
irb(main):001:0> require "watir-webdriver"
=> true
irb(main):002:0> browser = Watir::Browser.new :ff
Errno::EADDRNOTAVAIL: ??dany adres jest nieprawid?owy w tym kontek?cie. - bind(2
)
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.0/lib/s
elenium/webdriver/firefox/socket_lock.rb:45:in `initialize'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.0/lib/s
elenium/webdriver/firefox/socket_lock.rb:45:in `new'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.0/lib/s
elenium/webdriver/firefox/socket_lock.rb:45:in `can_lock?'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.0/lib/s
elenium/webdriver/firefox/socket_lock.rb:31:in `lock'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.0/lib/s
elenium/webdriver/firefox/socket_lock.rb:17:in `locked'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.0/lib/s
elenium/webdriver/firefox/launcher.rb:32:in `launch'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.0/lib/s
elenium/webdriver/firefox/bridge.rb:19:in `initialize'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.0/lib/s
elenium/webdriver/common/driver.rb:31:in `new'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.0/lib/s
elenium/webdriver/common/driver.rb:31:in `for'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.22.0/lib/s
elenium/webdriver.rb:65:in `for'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.6.1/lib/watir
-webdriver/browser.rb:35:in `initialize'
from (irb):2:in `new'
from (irb):2
from C:/Ruby193/bin/irb:12:in `<main>'
irb(main):003:0>
Thanks a lot for help!