문제

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top