简体   繁体   中英

Watir Crawler is Stuck after Goto

First time messing with Watir.

browser = Watir::Browser.new

browser.goto 'google.com'

My firefox window pops up and stays stuck on a blank page. When I end the script in the command line, I get:

...ruby-1.9.3-p194/gems/selenium-webdriver-2.29.0/lib/selenium/webdriver/common/socket_poller.rb:95:in sleep': Interrupt`

I've do have the selenium-webdriver gem (2.29) installed. My firefox version is 19.

我不认为selenium-webdriver支持Firefox 19.尝试使用Firefox 18。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM