New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't connect to running Chrome browser session #48
Comments
Yea seems like there's some issue when Chrome is already running. I have to take a look, but PRs are always welcome ;) |
I'm getting the same issue when running through a docker container. |
@gregoryduckworth that's because in docker as root you have to pass no-sandbox option:
|
Thanks for the reply @route, however when I add in the
|
Sorted it, just checked and noticed you mentioned Although now have the error |
I'm facing the same problem. I do know what to do in order to solve this. |
I need more information other than that, browser version, full backtrace, options you are passing etc |
Environment:
Driver:
Then it is failing after running a test and the after hook, so struggling to provide a stack trace. |
Environment:
Configs in
Full stack of the error:
|
@gvinicius Google Chrome 50.0.2661.102 outdated, install >= 71 |
@gregoryduckworth could you please try to use master branch? |
@route - still getting the same |
@route , @gregoryduckworth after upgrading chrome to the latest version (72), setting |
@gregoryduckworth I believe it's env related, does your test suite work without docker? |
@route - Yeah it works fine without docker |
@gregoryduckworth could you please show all cmd flags you run chrome process on docker, take a look at https://github.com/machinio/cuprite/blob/master/spec/spec_helper.rb#L16 |
Thanks, I sorted it with the following change in my Dockerfile
|
@Dark-Sun fixed your original issue. I think it's almost time to release 1.0 |
@gvinicius Can you give us an example of how to set the |
or pass it when instantiating a driver
|
Environment:
macOS 10.13.6
Google Chrome 71.0.3578.98
cuprite 0.4.0
ruby 2.5.0
When running with the following options and already launched Google Chrome:
it raises
It seems
Cuprite
can't connect to running Chrome instance, since it outputsOpening in existing browser session
instead validws
url that could be connected toThe text was updated successfully, but these errors were encountered: