Selenium does not close browser window with log
-
29-09-2019 - |
문제
When I run test in Selenium 2, I end with selenium.close(); selenium.stop();
. In previous version it closed both the windows with tested application and window with test log. In Selenium 2 the second window stays opened - what I can do to close it too ?
Selenium 2.0a6.
해결책
There was a bug that made the .close() method fails. Try .quit() instead.
제휴하지 않습니다 StackOverflow