Error: unable to connect to chromedriver http://127.0.0.1:9515 (Selenium::WebDriver::Error::WebDriverError) #44
Comments
I've seen a similar error just now trying to get this running on Jenkins. @aruprakshit what's the output of |
I also have this issue having recently upgraded to Sierra.
Using 1.1 of chromedriver-helper. For me the browser never launches. UPDATE: I have narrowed this down to being a proxy issue. Will look into this more on Monday... |
My problem on 2.30 was missing libraries (so even asking for the version threw an error) and I couldn't work around it on the server in question, so we backtracked to a manual install of 2.28 instead. |
I have the same problem when running on Jenkins. Where do I put this code: Chromedriver.set_version "2.28" ? |
@mmaruri |
Okay, so I'm getting this after uninstalling this too... what has this done to my machine, help? EDIT: It stopped it running in brew services. Figured it out, wondering why it did that though. EDIT: Um I'm still having the issue. This isn't cool... EDIT: It makes no sense to me that somehow the following happened: |
Has anyone figured this out? I'm having the same problem.. |
@kiramclean Can you please be more specific about what problem you're encountering? This issue has some conflicting information and it's not clear to me what the OP or following users were experiencing. Feel free to open a new issue, as well. |
I'm going to close this issue, because as I mentioned above, it's not clear to me that there's an issue with chromedriver-helper. If someone can clarify for me, I'm happy to reopen. |
@kiramclean @kulte I had a similar issue and managed to fix it by updating chromedriver to version 2.35 and then running chromedriver-update 2.35. |
In case this helps other folks using rbenv who have experienced this issue after uninstalling... I couldn't seem to get rid of this rbenv shim: ❯ which chromedriver
/Users/xxx/.rbenv/shims/chromedriver rbenv/rbenv#388 helped me track down the issue. I realized that I still had these chromedriver executables on disk: ❯ ls ~/.rbenv/versions/*/bin/* | grep chromedriver
/Users/xxx/.rbenv/versions/2.3.1/bin/chromedriver*
/Users/xxx/.rbenv/versions/2.3.1/bin/chromedriver-update* After removing them, an ❯ rm ~/.rbenv/versions/2.3.1/bin/chromedriver
❯ rm ~/.rbenv/versions/2.3.1/bin/chromedriver-update
❯ rbenv rehash
❯ which chromedriver
chromedriver not found |
Thanks for that tip! This can also be a problem if you frequently switch between projects using Not sure how this could be properly solved, but @chrislopresto tip is really useful anyways. |
This solved it for me! I simply ran |
@StMacLennan that will probably solve the problem. Somehow this gem is downloading a very old Same thing happens when I used I tried almost everything and nothing helped. So I just tried "old fashioned" directly downloading binary version. I could see that chromedriver latest is indeed 2.38. I downloaded, unzipped, moved to Full solution (Mac): curl http://chromedriver.storage.googleapis.com/2.38/chromedriver_mac64.zip -o chromedriver_mac64.zip
unzip chromedriver_mac64.zip
mv chromedriver /usr/local/bin
chmod +x /usr/local/bin/chromedriver
rm chromedriver_mac64.zip So simple! |
@LucasArruda the problem you're seeing with downloading old versions of chromedriver was fixed in v0.0.8 in January 2015. Please update your gem. In the future, you may want to consider opening a new issue for bugs that you're seeing, instead of commenting on closed tickets regarding unrelated issues. That way you can receive more direct help when you need it, and not resort to workarounds like the one you've posted above. I'm going to go ahead and lock this ticket from further commenting. |
File name:
sign_in_spec.rb
File name:
spec_helper.b
When I ran
rspec spec
, got the below error:I am on macos sierra.
Ruby version is: ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-darwin16]
My
gemspec
looks like:The text was updated successfully, but these errors were encountered: