Browser doens't close after tests finished
See original GitHub issue- Set
restart:false
option - Launch tests suite. at least one test should fail.
- Note that after tests finished, the browser will be still launched
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Is not fixed. Option restart: false/true - does not matter - the last opened browser does not close (protractor).
@mycarrysun, this was fixed for WebDriverIO in #1113 pull request We are waiting for release 😃
See #1069 issue