java - Tabs getting opened automatically -


new tabs getting opened after executing quit() function in selenium webdriver. happens browsers( chrome, ie, firefox). have tried terminating process in eclipse , tried killing javaw.exe task manager. still issue persists. solutions or workarounds

public static string quit() throws exception { try { application_logs.info("executing keyword quit");  driver.quit();  wbdv.quit();  application_logs.info("browser closed");  result="driver closed"; return "pass";  } catch(exception t) { application_logs.info("error while generating quit -" + object + t.getmessage());  result = t.getmessage(); throw new exception("exception raised in function :quit"); } }  


Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -