when I run the (driver.quit), it opens the firefox browser and quit it as expected but error is given as "Unable to find executable for: taskkill"
.
I set the environment variable PATH as "C:\Windows\System32" and run the test. But I still getting this error.
I am using Selenium-java-2.48.2.jar and Firefox 42.0
public void closeBrowser(){
try{
driver.quit();
}
catch(Exception ex){
System.out.println(ex.getMessage());
}
}