bukowa / tauri-e2e

This project demonstrates how to perform end-to-end testing with Tauri v2 using Selenium and Webdriver.
MIT License
0 stars 0 forks source link

Webdriver is not closing tauri application when done. #9

Closed bukowa closed 3 days ago

bukowa commented 5 days ago
bukowa commented 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: