This is the error

c:\automation>ruby try.rb
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/selenium-webdriver-3.13.0/lib/selenium/webdriver/common/service.rb:142:in
`connect_until_stable': unable to connect to chromedriver 127.0.0.1:9515
(Selenium::WebDriver::Error::WebDriverError)
        from
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/selenium-webdriver-3.13.0/lib/selenium/webdriver/common/service.rb:72:in
`block in start'
        from
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/selenium-webdriver-3.13.0/lib/selenium/webdriver/common/socket_lock.rb:39:in
`locked'
        from
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/selenium-webdriver-3.13.0/lib/selenium/webdriver/common/service.rb:69:in
`start'
        from
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/selenium-webdriver-3.13.0/lib/selenium/webdriver/chrome/driver.rb:43:in
`initialize'
        from
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/selenium-webdriver-3.13.0/lib/selenium/webdriver/common/driver.rb:44:in
`new'
        from
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/selenium-webdriver-3.13.0/lib/selenium/webdriver/common/driver.rb:44:in
`for'
        from
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/selenium-webdriver-3.13.0/lib/selenium/webdriver.rb:86:in
`for'
        from
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/watir-6.11.0/lib/watir/browser.rb:48:in
`initialize'
        from try.rb:7:in `new'
        from try.rb:7:in `<main>'

On Thu, Jun 28, 2018 at 8:46 AM, c w <[email protected]> wrote:

> Please tell me what ruby version you use.
>
> I upgraded the webdriver well all gems but I still get the error.
>
> I have no idea what to do in order to run on chrome.
>
> C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/selenium-webdriver-3.
> 13.0/lib/selenium/webdriver/common/service.rb:142:in
> `connect_until_stable': unable to connect to chromedriver 127.0.0.1:9515
> (Selenium::WebDriver::Error::WebDriverError)
>         from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/selenium-webdriver-3.
> 13.0/lib/selenium/webdriver/common/service.rb:72:in `block in start'
>         from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/selenium-webdriver-3.
> 13.0/lib/selenium/webdriver/common/socket_lock.rb:39:in `locked'
>         from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/selenium-webdriver-3.
> 13.0/lib/selenium/webdriver/common/service.rb:69:in `start'
>
> On Thu, Jun 28, 2018 at 1:36 AM, Justin Ko <[email protected]> wrote:
>
>> The question regarding Chrom is still valid. Can anyone drive the chrome
>>> and goto an url on win 10?
>>>
>>
>> Chrome works for me on Windows 10 Pro using:
>> - Watir 6.11
>> - Selenium-WebDriver 3.13
>> - Chrome 67
>> - Chromedriver 2.4
>>
>> Justin
>>
>> --
>> --
>> Before posting, please read https://github.com/watir/watir
>> _meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
>> In short: search before you ask, be nice.
>>
>> [email protected]
>> http://groups.google.com/group/watir-general
>> [email protected]
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Watir General" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
-- 
Before posting, please read 
https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group.
 
In short: search before you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]
--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to