WatiN ie9 confirm dialog is not working

Posted by Andrew on Stack Overflow See other posts from Stack Overflow or by Andrew
Published on 2011-07-01T07:34:15Z Indexed on 2011/07/01 8:22 UTC
Read the original article Hit count: 328

Filed under:
|
|
var dialogHandler = new WatiN.Core.DialogHandlers.ConfirmDialogHandler();
            using (new WatiN.Core.DialogHandlers.UseDialogOnce(browser.DialogWatcher, dialogHandler))
            {
                browser.Button(Find.ById("btnSave")).ClickNoWait();

                dialogHandler.WaitUntilExists();                                       
            }

it's not working on ie 9, javascript confirm I already use latest version 2.1

© Stack Overflow or respective owner

Related posts about c#

Related posts about internet-explorer-9