-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
"DevTools Request: 127.0.0.1:12585/json/version. DevTools request failed" when loading Chrome user data with a Chrome window already open #886
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
Comments
chromedriver issues are tracked on a separate project, please log issues there: |
Its almost 8 months since the problem was closed, but I would like to shed some light into issue and possibly provide a solution to some else who may run into this issue. Refer to http://stackoverflow.com/a/22735763/2326198 and setup the output log for the Chrome webdriver as mentioned in that post. After that execute the code that was giving you issue and you will see the reason of failure. In my case it was ' Gtk: cannot open display'. HTH, |
@kpcool I'm having the same issue - could you possibly post how you fixed it please? |
for anyone having problem with codeception and headless chrome, this will save your day: http://phptest.club/t/how-to-run-headless-chrome-in-codeception/1544
|
When I create a new chrome driver in Selenium while Google Chrome is already running AND I am referencing the users settings/data (via
user-data-dir
). A new Chrome window will open, but my application will hang. The ChromeDriver console will display the following error each second:DevTools Request: 127.0.0.1:12585/json/version. DevTools request failed
This will work perfectly fine in every time if I do not try and load user settings/data. If I am trying to load user setting/data it will only work if there is no instance of Chrome running on the device already.
I am not sure if this is a bug, or my own ignorance. Hopefully the later.
Versions:
Possibly related to: angular/protractor#1636 ?
Edit: code snippet for reference:
The text was updated successfully, but these errors were encountered: