GithubHelp home page GithubHelp logo

Comments (7)

flavorjones avatar flavorjones commented on June 30, 2024

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.

kwerle avatar kwerle commented on June 30, 2024

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.

flavorjones avatar flavorjones commented on June 30, 2024

OK - I see, I jumped to the end. Yes, please, a docker image would help to reproduce and debug this.

from chromedriver-helper.

kwerle avatar kwerle commented on June 30, 2024

Please see:
https://github.com/kwerle/chromedriver-helper/blob/75-fail-basic-new-docker-project/docker_tests/Dockerfile.75

Thanks!

from chromedriver-helper.

twalpole avatar twalpole commented on June 30, 2024

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.

kwerle avatar kwerle commented on June 30, 2024

from chromedriver-helper.

flavorjones avatar flavorjones commented on June 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.