java - How to handle browser_close event using selenium -


1.) hi, want log fatal error message using log4j when browser closed manually, while selenium's automated testing in process. there way out it?

2.) calling driver.close() or driver.quit() doesn't close chromedriver. have manually close chromedriver.exe task taskmanager. let me know reason , way out too.

thanks in advance


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -