[Selenium]对弹出的Alert窗口进行操作

Alert alert = driver.switchTo().alert();
alert.accept();

 

posted on 2014-06-06 14:46  张缤分  阅读(370)  评论(0)    收藏  举报

导航