javascript function to call in order to click OK on confirmation dialog

Posted by Thiyagarajan Veluchamy on Stack Overflow See other posts from Stack Overflow or by Thiyagarajan Veluchamy
Published on 2012-07-23T07:06:06Z Indexed on 2012/11/29 5:04 UTC
Read the original article Hit count: 136

Filed under:

I am writed an automated test in Selenium IDE to test one of our applications. Our app throws one of those confirmation dialogs "Are you sure you want to continue." Click OK or Cancel

Selenium does not support the clicking of these dialog boxes. I have tried the following SeleniumIDE functions with no success:

chooseOkOnNextConfirmation chooseOkOnNextConfirmationAndWait

Is there a javascript funtion I can call within SeleniumIDE to do this, or am I out of luck.

© Stack Overflow or respective owner

Related posts about selenium