Skip to content

Chromedriver leaves forked Chrome instances hanging in background after test run (with large CPU load) #5600

Closed
@garrymann

Description

@garrymann

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:

  • ChromeDriver (2.36)
  • NodeJS (v8.10.0)
  • cucumber@1.3.3
  • protractor@5.3.0

Expected Behavior -

  1. The chromedriver.exe should stop and its Chrome instances as well.

Actual Behavior -

  1. The chromedriver.exe stops 4-5 secs after the tests completed. Then the forked Chrome instances stay in the background as running processes with huge CPU usage.

Steps to reproduce -

  1. Run at least 1 failing test with CucumberJS and Protractor.
    note: I'm running e2e tests against an Angular 1.6 application
  2. Examine the processes in Task manager.

Note:

This issue was introduced by the latest Chrome and ChromeDriver update. No symptomps were present in previous versions.

Screenshot:

Actual result

Metadata

Metadata

Assignees

No one assigned

    Labels

    J-awaiting answerQuestion asked of user; a reply moves it to triage again

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions