question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Browser doens't close after tests finished

See original GitHub issue
  1. Set restart:false option
  2. Launch tests suite. at least one test should fail.
  3. Note that after tests finished, the browser will be still launched

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
romal-fitbmccommented, Jan 5, 2017

Is not fixed. Option restart: false/true - does not matter - the last opened browser does not close (protractor).

1reaction
elukoyanovcommented, Jun 20, 2018

@mycarrysun, this was fixed for WebDriverIO in #1113 pull request We are waiting for release 😃

See #1069 issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Selenium 4 and Java: Browser session not closing after test ...
I'm using an old Hooks.java file for setting up and closing down my Selenium tests. I know this file is really messy, but...
Read more >
Why has my WebDriver Browser Not Closed? - EvilTester.com
Close the Browser in a method that always runs. Tests fail. If you have a driver.quit() as the last statement in your @Test...
Read more >
How do I close the browser window at the end of a Selenium ...
You should use driver.quit() whenever you want to end the program. It will close all opened browser window and terminates the WebDriver session....
Read more >
Browser doesn't close itself after a singleRun test. #24 - GitHub
If we configure testacular to launch Chrome automatically and set to singleRun to true, the browser doesn't closes itself.
Read more >
Browser closes right after finishing test : r/selenium - Reddit
Unless you explicitly tell Selenium to keep the browser open, it will close as soon as all commands are completed. If you only...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found