Closed bukowa closed 3 days ago
The best solution on windows is to driver.close()
first (just to be sure), and then driver.quit()
or driverProcess.kill()
This should not be done in any process.on('exit
hooks cuz Node won't wait there for this to finish!
On Linux it doesn't seem to work yet, related:
windows
linux
https://www.eviltester.com/webdriver/faqs/why-has-my-browser-not-closed/