Selenium RC 定位到新窗口

String[] titles = selenium.getAllWindowTitles();
selenium.selectWindow("title="+titles[titles.length-1]);

猜你喜欢

转载自bernice-liu.iteye.com/blog/1833716