小编use*_*778的帖子

在Selenium WebDriver中处理警报(Selenium 2)

driver.findElement(By.xpath("//input[@value='??']")).click(); 
//Pops out an Alert and program stops, does not continue 
Run Code Online (Sandbox Code Playgroud)

如何点击提醒?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

????  ??????? (TRANS: ahahahahaha why there is no one here to reply my post?)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
??  (TRANS: Let me promote this post!)
Run Code Online (Sandbox Code Playgroud)

alert selenium-webdriver

7
推荐指数
2
解决办法
4万
查看次数

标签 统计

alert ×1

selenium-webdriver ×1