Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

MicrosoftEdge driver instance not getting closed automatically

Open
#2,751 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
testing

Research direction

Start by reproducing the second-run failure with CodeceptJS 3.0.2, Node.js 12.16.3, Windows 10, Microsoft Edge, and webdriverio. Inspect the project configuration and the Microsoft Webdriver process handling; done means Edge can be used again after a test run without manually ending the driver task.

Written by the indexing model from the issue text.

Description

What are you trying to achieve?

When I execute multiple test cases on Microsoft Edge browser first time, test cases executes properly one after another and for every test case execution browser is getting opened.

What do you get instead?

After completion of first run when I execute command to run test cases again (second run) browser is not getting opened.

Error encountered:
EBUSY: resource busy or locked, open "path of the edge driver"

Other Information:

  1. After executing scripts on Edge if we try to execute scripts on different browser in second run still get same error
  2. When I Manually perform end task for "Microsoft Webdriver" and run execution command again then script execution startes properly
Details
  • CodeceptJS version: "^3.0.2"
  • NodeJS Version:v12.16.3
  • Operating System: Windows 10
  • puppeteer || webdriverio || protractor || testcafe version (if related) webdriverio
  • Configuration file:
Dominant language
JavaScript
Stars
4.2k
Forks
756
Avg merge
2d 9h
Merged PRs (30d)
16

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from codeceptjs/CodeceptJS

All issues in codeceptjs/CodeceptJS

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.