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:
This issue was introduced by the latest Chrome and ChromeDriver update. No symptomps were present in previous versions.

Run at least 1 failing test with CucumberJS and Protractor.
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!
The .quit() is handled by Protractor as far as I know. So it is not necessary since runner teardownEnv will take care of that for you.
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.
https://bugs.chromium.org/p/chromedriver/issues/detail?id=2311
Things I've tried but did not resolve the issue:
reinstall chrome (v65 x64)
disable and remove extensions
run it without a single chrome instance open in the background
delete npm-cache
redo npm i
update to npm 5.7 (latest)
update to node 8 (latest LTS)
update windows 10: Version 10.0.16299.248
Any other ideas?
it is not necessary since runner teardownEnv
will take care of that for you
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:
this.registerHandler('AfterFeatures', () => {
logger.warn('Force closing ChromeDriver.');
return browser.driver.quit();
});
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 --disable-gpu the problem goes away.
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.
Anyone, have encounter the same problem and what's the solution?
Most helpful comment
FYI: Don't know why but deleting arg "--no-sandbox" fixed the issue for me.