0
@AfterClass
public void aClass(){
    LogUtil.info("-------Finished Test Class-----------");
    if (action != null)
        action.tearDown("-------Finished Test Class-----------");
    }

and the tearDown(String ) is below:

public void tearDown(){
    try{
        driver.manage().deleteAllCookies();
        driver.quit();
    }
    catch(Exception e){
        throw e;
    }
    }

now I find that when there is a operation to open url in new window then after that ,the ieDriverServer always can not be closed on the step

"driver.manage().deleteAllCookies()"

but if there is no operation to open url in new window ,the ieDriverServer can be delete cookies and quit normally

PS: my env is below: Windows 7 64bits

IE 11 latest ieDriverServer the latest 32bits

dy20082250
  • 11
  • 4
  • please note that only when open url in new window that this issue occurs – dy20082250 Dec 29 '17 at 05:33
  • How can you `there is a operation to open url in new window` when you have already `driver.quit()`. How are you trying to open a new url? how can `ieDriverServer always can not be closed on the step` through `"driver.manage().deleteAllCookies()"`? – undetected Selenium Dec 29 '17 at 05:52

0 Answers0