private WatiN.Core.Browser CreateBrowser() { var browser = new IEWithDialogWaiter(); AddDialogHandler(browser); return(browser); }
private void AddDialogHandler(IEWithDialogWaiter browser) { watinDialogHandler = new DialogHandler(); browser.AddDialogHandler(watinDialogHandler); }