You have old versions of phantomjs, watir-webdriver and selenium-webdriver (and
Ruby, but that is not relevant here, I think).
This is from my machine:
$ which phantomjs
/usr/local/bin/phantomjs
$ phantomjs --version
1.9.2
$ gem search webdriver --local
*** LOCAL GEMS ***
selenium-webdriver (2.35.1)
watir-webdriver (0.6.4)
$ irb
> require "watir-webdriver"
=> true
> browser = Watir::Browser.new :phantomjs
=> #<Watir::Browser:0x..f8b8558c7c6637ec0 url="about:blank" title="">
I would suggest updating phantomjs, watir-webdriver and selenium-webdriver and
everything should work just fine. If if still does not work, reopen the issue.
---
Reply to this email directly or view it on GitHub:
https://github.com/watir/watir-webdriver/issues/222#issuecomment-26314460
_______________________________________________
Wtr-development mailing list
Wtr-development@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-development