Click in OK button inside an Alert (Selenium IDE)
问题 I need to click the \'Ok\' button inside an alert window with a Selenium command. I\'ve tried assertAlert or verifyAlert but they don\'t do what I want. It\'s possible the click the \'Ok\' button? If so, can someone provide me an example of the Selenium IDE command? 回答1: Try Selenium 2.0b1. It has different core than the first version. It should support popup dialogs according to documentation: Popup Dialogs Starting with Selenium 2.0 beta 1, there is built in support for handling popup