ericmckean / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

Selenium Web-driver and chrome WebDriver incompatibility #968

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello, I am quite new in ruby, and I researched a lot trying to fix my problem, 
but I did not find anything that could help my situtation. I am facing a 
problem for some days now...
This is the first problem that I am posting here, so instead of marking the 
question negatively, help me to understand how to provide a proper info.
I am using watir to develop a automated test scripts.. I am using 
Selenium-WebDriver 2.43.0 and the the chrome WebDriver version is 2.12 and the 
Chrome version is '38.0.2125.111 m'.
In the FF and IE the browser opens normally, but in the Chrome the browser does 
not open and I get the following error:
O sistema não pode encontrar o caminho especificado.
O sistema não pode encontrar o caminho especificado.

C:\Ruby21\features>ruby ava.rb
C:/Ruby21/lib/ruby/2.1.0/net/protocol.rb:158:in `rescue in rbuf_fill': 
Net::ReadTimeout (Net::ReadTimeout)
        from C:/Ruby21/lib/ruby/2.1.0/net/protocol.rb:152:in `rbuf_fill'
        from C:/Ruby21/lib/ruby/2.1.0/net/protocol.rb:134:in `readuntil'
        from C:/Ruby21/lib/ruby/2.1.0/net/protocol.rb:144:in `readline'
        from C:/Ruby21/lib/ruby/2.1.0/net/http/response.rb:39:in `read_status_line'
        from C:/Ruby21/lib/ruby/2.1.0/net/http/response.rb:28:in `read_new'
        from C:/Ruby21/lib/ruby/2.1.0/net/http.rb:1408:in `block in transport_request'
        from C:/Ruby21/lib/ruby/2.1.0/net/http.rb:1405:in `catch'
        from C:/Ruby21/lib/ruby/2.1.0/net/http.rb:1405:in `transport_request'
        from C:/Ruby21/lib/ruby/2.1.0/net/http.rb:1378:in `request'
        from C:/Ruby21/lib/ruby/2.1.0/net/http.rb:1371:in `block in request'
        from C:/Ruby21/lib/ruby/2.1.0/net/http.rb:853:in `start'
        from C:/Ruby21/lib/ruby/2.1.0/net/http.rb:1369:in `request'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/selenium-webdriver-2.43.0/lib/selenium/webdriver/remote/http/default.rb:83:in `response_for'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/selenium-webdriver-2.43.0/lib/selenium/webdriver/remote/http/default.rb:39:in `request'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/selenium-webdriver-2.43.0/lib/selenium/webdriver/remote/http/common.rb:40:in `call'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/selenium-webdriver-2.43.0/lib/selenium/webdriver/remote/bridge.rb:638:in `raw_execute'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/selenium-webdriver-2.43.0/lib/selenium/webdriver/remote/bridge.rb:99:in `create_session'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/selenium-webdriver-2.43.0/lib/selenium/webdriver/remote/bridge.rb:68:in `initialize'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/selenium-webdriver-2.43.0/lib/selenium/webdriver/chrome/bridge.rb:29:in `initialize'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/selenium-webdriver-2.43.0/lib/selenium/webdriver/common/driver.rb:37:in `new'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/selenium-webdriver-2.43.0/lib/selenium/webdriver/common/driver.rb:37:in `for'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/selenium-webdriver-2.43.0/lib/selenium/webdriver.rb:67:in `for'
        from C:/Ruby21/lib/ruby/gems/2.1.0/gems/watir-webdriver-0.6.11/lib/watir-webdriver/browser.rb:46:in `initialize'
        from ava.rb:31:in `new'
        from ava.rb:31:in `open_browser_in_ava_login_system_page'
        from ava.rb:141:in `<main>'

Original issue reported on code.google.com by mauviane...@gmail.com on 5 Nov 2014 at 11:54

GoogleCodeExporter commented 9 years ago
disregard the two lines 'O sistema não pode encontrar o caminho especificado.'

Original comment by mauviane...@gmail.com on 5 Nov 2014 at 12:11

GoogleCodeExporter commented 9 years ago
If I change the place of the chrome-WebDriver, I get a error saying to download 
the driver... so I have discarded this possibility

Original comment by mauviane...@gmail.com on 5 Nov 2014 at 12:16

GoogleCodeExporter commented 9 years ago
I tested all of the Chrome-WebDriver versions.. until the version 2.8 I get 
this error: 
C:/Ruby21/lib/ruby/gems/2.1.0/gems/selenium-webdriver-2.43.0/lib/selenium/webdri
‌​ver/remote/response.rb:52 in assrt_ok: chrome not reachable 
(Selenium::WebDriver::Error::WebDriverError). But if the chrome webDriver 
version is 2.9 or higher, I get: 
C:/Ruby21/lib/ruby/2.1.0/net/protocol.rb:158:in rescue in rbuf_fill: 
Net::ReadTimeout (Net::ReadTimeout). Any thoughts? 

Original comment by mauviane...@gmail.com on 5 Nov 2014 at 2:10

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
if  you can provide more detail step that can reproduce the problem?

Original comment by andrewch...@chromium.org on 19 Nov 2014 at 7:20

GoogleCodeExporter commented 9 years ago

Original comment by andrewch...@chromium.org on 19 Nov 2014 at 7:22

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:41