All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
You can handle the second dialog in absolutely the same way as the first one. Here is a sample code:
AlertDialog alertDialog = AlertDialog.CreateAlertDialog(browser, DialogButton.OK);
browser.Manager.DialogMonitor.AddDialog(alertDialog);
browser.Manager.DialogMonitor.Start();
//Trigger the dialog
browser.Actions.Click(some element);
alertDialog.WaitUntilHandled();
browser.WaitUntilReady();
browser.RefreshDomTree();
AlertDialog alertDialog2 = AlertDialog.CreateAlertDialog(browser, DialogButton.OK);
browser.Manager.DialogMonitor.AddDialog(alertDialog2);
alertDialog2.WaitUntilHandled();