Comments (7)
Thanks for asking this question. This appears to be a chromedriver issue, and not an issue with chromedriver-helper. This gem simply downloads the binary and starts it, and both of those operations appear to be working correctly.
I googled the error message you posted and found lots of related posts, including this post (and others) indicating the root cause might be related to IPv6 configuration:
https://www.reddit.com/r/docker/comments/8zkmuo/chromedriver_not_starting_in_docker/
You may want to check out some of those results, or else solicit some assistance in a different forum? I don't think there's anything this gem could be doing differently to prevent a failure to bind to a port here.
Sorry I can't be of more help to you.
from chromedriver-helper.
Sorry the output wasn't clear.
chromedriver-helper does install chromedriver. And chromedriver does run - the spurious error that is probably IPv6 related notwithstanding. When I ran it manually the error message was just the last thing it said - it continued running.
The issue seems to be entirely in 'helpers area:
Selenium::WebDriver::Error::UnknownError: unknown error: cannot find Chrome binary
(Driver info: chromedriver=2.45.615279 (12b89733300bd268cff3b78fc76cb8f3a7cc44e5),platform=Linux 4.9.125-linuxkit x86_64)
test/system/users_test.rb:14:in `block in <class:UsersTest>'
It does seem like 'helper should be able to find the driver it just installed, right? And since I was able to run it, it seems like 'helper should be able to do so, too?
from chromedriver-helper.
OK - I see, I jumped to the end. Yes, please, a docker image would help to reproduce and debug this.
from chromedriver-helper.
Thanks!
from chromedriver-helper.
Note the error says "cannot find Chrome binary" - not cannot find chromedriver binary -- does your docker image actually have Chrome on it?
from chromedriver-helper.
from chromedriver-helper.
I'm going to close this issue, as the gem is being deprecated in favor of webdrivers, see #83.
from chromedriver-helper.
Related Issues (20)
- unknown error: call function result missing 'value' for Selenium Send Keys even after chromedriver upgrade HOT 1
- Chromedriver picks up wrong version HOT 13
- chromedriver-helper breaks projects not using it HOT 20
- No options to set log log-level and log-path HOT 6
- Using with Rails: "uninitialized constant Selenium" HOT 5
- Use LATEST_RELEASE file rather than guessing HOT 8
- Chromedriver helper downloading weird chromedriver version number HOT 2
- NameError: uninitialized constant Chromedriver in rails & rspec config HOT 5
- Mention "require" in README? HOT 3
- certificate verify failed (self signed certificate in certificate chain) (OpenSSL::SSL::SSLError) HOT 9
- Not executable: chromedriver-helper HOT 1
- No output with 'which chromedriver' after installing 2.1.0 HOT 3
- Not working in rspec (calling in rails_helper.rb) HOT 1
- Allow setting an environment variable to skip installation, for systems on which a compatible chromedriver is already installed HOT 11
- Use a compatible version of chromedriver HOT 8
- Version selection with LATEST_RELEASE is deprecated HOT 17
- Seeking new maintainer HOT 16
- Doc question HOT 1
- NOTICE: Ending support for this gem HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chromedriver-helper.