Just a FYI to the group as my chrome tests started failing. The current version is 22
SystemTest.rb # Checks if the chromiumdriver.exe needs updating # If the script fails chromedriver.exe needs to be updated to version 22 # Downloads available at http://code.google.com/p/chromedriver/downloads/list require "rubygems" require "watir-webdriver" #browser = Watir::Browser.new(:firefox) Firefox however opens #browser = Watir::Browser.new(:internet_explorer) IE too opens browser = Watir::Browser.new(:chrome) browser.goto "http://google.com" Error Stream ======================== Started ChromeDriver port=7209 version=17.0.963.0 [0813/154307:WARNING:webdriver_capabilities_parser.cc(97)] Ignoring unrecognized capability: browserName [0813/154307:WARNING:webdriver_capabilities_parser.cc(97)] Ignoring unrecognized capability: cssSelectorsEnabled [0813/154307:WARNING:webdriver_capabilities_parser.cc(97)] Ignoring unrecognized capability: javascriptEnabled [0813/154307:WARNING:webdriver_capabilities_parser.cc(97)] Ignoring unrecognized capability: nativeEvents [0813/154307:WARNING:webdriver_capabilities_parser.cc(97)] Ignoring unrecognized capability: platform [0813/154307:WARNING:webdriver_capabilities_parser.cc(97)] Ignoring unrecognized capability: rotatable [0813/154307:WARNING:webdriver_capabilities_parser.cc(97)] Ignoring unrecognized capability: takesScreenshot [0813/154307:WARNING:webdriver_capabilities_parser.cc(97)] Ignoring unrecognized capability: version .\test\automation\proxy_launcher.cc(106): error: Value of: app_launched Actual: 1 Expected: AUTOMATION_SUCCESS Which is: 0 Error while awaiting automation ping from browser process [0813/154353:ERROR:proxy_launcher.cc(563)] Failed to ConnectToRunningBrowser [0813/154353:ERROR:webdriver_automation.cc(273)] Failed to initialize connection .\test\automation\proxy_launcher.cc(239): error: Value of: automation()->GetBrowserWindowCount(&window_count) Actual: false Expected: true .\test\automation\proxy_launcher.cc(260): error: Value of: browser_proxy.get() Actual: false Expected: true c:/ruby192/lib/ruby/1.9.1/net/protocol.rb:140:in `rescue in rbuf_fill': Timeout::Error (Timeout::Error) from c:/ruby192/lib/ruby/1.9.1/net/protocol.rb:134:in `rbuf_fill' from c:/ruby192/lib/ruby/1.9.1/net/protocol.rb:116:in `readuntil' from c:/ruby192/lib/ruby/1.9.1/net/protocol.rb:126:in `readline' from c:/ruby192/lib/ruby/1.9.1/net/http.rb:2219:in `read_status_line' from c:/ruby192/lib/ruby/1.9.1/net/http.rb:2208:in `read_new' from c:/ruby192/lib/ruby/1.9.1/net/http.rb:1191:in `transport_request' from c:/ruby192/lib/ruby/1.9.1/net/http.rb:1177:in `request' from c:/ruby192/lib/ruby/1.9.1/net/http.rb:1170:in `block in request' from c:/ruby192/lib/ruby/1.9.1/net/http.rb:627:in `start' from c:/ruby192/lib/ruby/1.9.1/net/http.rb:1168:in `request' from c:/ruby192/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.14.0/ lib/selenium/webdriver/remote/http/default.rb:81:in `response_for' from c:/ruby192/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.14.0/ lib/selenium/webdriver/remote/http/default.rb:43:in `request' from c:/ruby192/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.14.0/ lib/selenium/webdriver/remote/http/common.rb:39:in `call' from c:/ruby192/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.14.0/ lib/selenium/webdriver/remote/bridge.rb:450:in `raw_execute' from c:/ruby192/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.14.0/ lib/selenium/webdriver/remote/bridge.rb:92:in `create_session' from c:/ruby192/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.14.0/ lib/selenium/webdriver/remote/bridge.rb:68:in `initialize' from c:/ruby192/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.14.0/ lib/selenium/webdriver/chrome/bridge.rb:22:in `initialize' from c:/ruby192/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.14.0/ lib/selenium/webdriver/common/driver.rb:37:in `new' from c:/ruby192/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.14.0/ lib/selenium/webdriver/common/driver.rb:37:in `for' from c:/ruby192/lib/ruby/gems/1.9.1/gems/selenium-webdriver-2.14.0/ lib/selenium/webdriver.rb:60:in `for' from c:/ruby192/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.4.1/lib/ watir-webdriver/browser.rb:35:in `initialize' from C:/Documents and Settings/kpetry/Desktop/WATIR-TR-Civicorp/ SystemTest.rb:6:in `new' from C:/Documents and Settings/kpetry/Desktop/WATIR-TR-Civicorp/ SystemTest.rb:6:in `<main>' Tool completed with exit code 1 -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
