-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Chromedriver leaves forked Chrome instances hanging in background after test run (with large CPU load) #5600
Comments
does your code always call quit() on the driver instance when a test fails? (usually done as a teardown/cleanup fixture in your framework) |
@cgoldberg Hi! |
If you (or Protractor) called quit, but chromedriver could not stop the browser -- report this issue to chromedriver: https://sites.google.com/a/chromium.org/chromedriver/help |
@barancev Done. Thanks. Things I've tried but did not resolve the issue: Any other ideas? |
and what happens when something crashes unexpectedly and your teardown isn't called? |
tried to call the quit manually as a hook but it can't reach the instance by this time: So in conclusion nothing happens. After trying many workarounds (and sticking to the latest versions) I guess Google Chrome needs to fix stuff with Chrome and Chromedriver then. Thanks anyway! |
FYI: Don't know why but deleting arg "--no-sandbox" fixed the issue for me. |
removing "no-sandbox" helped for me too |
I was facing the same issue and was so annoyed with it. Had to always keep an eye on CPU usage and kill the process. However, removing "no-sandbox" resolved my problem too. |
Saw the same problem, also removed --no-sandbox from my protractor config and the high CPU load disappeared. Took a long time to find this out since the problem started occurring previous week and the --no-sandbox place was already in there for a month or so. |
i don't have --no-sandbox in any of Protractor settings file. When executing test CPU goes to 100%. is there any other place I should remove the this config |
I don't know why, but when I add |
After removing --no-sandbox from chrome options, there is coming problem in opening chrome browser on windows 7 while on windows 8 and above it is working fine. |
Meta
OS:
Microsoft Windows [Version 10.0.16299.248] x64
Selenium Version:
2.53.1
Browser:
Chrome 65 x64
Browser Version:
Version 65.0.3325.146 (Official Build) (64-bit)
Additional rerequisites:
Expected Behavior -
Actual Behavior -
Steps to reproduce -
note: I'm running e2e tests against an Angular 1.6 application
Note:
This issue was introduced by the latest Chrome and ChromeDriver update. No symptomps were present in previous versions.
Screenshot:
The text was updated successfully, but these errors were encountered: