How To REALLY kill Geckodriver.exe

This isn’t a question, but more of a help to others here (hopefully):

I noticed that when I ran WebDriver tests using geckodriver.exe, the processes would remain even after using driver.quit(); eventually slowing Windows down to a crawl.

I finally figured out that if you run driver.close(); first THEN the process is killed off.

So now at then end of tests I run:

driver.close();

driver.quit();

 

This probably occurs with Chrome and IE drivers as well.

 

Thanks for a great tutorial site. It’s helping me a lot!

 

Frank

 

 

 

Default Asked on April 26, 2018 in Program QA Automation.
Add Comment
  • 0 Answer(s)
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.