HtmlDocument does not contain a constructore that takes 1 arguments : I cant seem to understand why this wont work.  I keep getting an error that says HtmlDocument does not contain a constructor that takes 1 arguments any help would be greatly appreciated


//Create the Browser Window

            BrowserWindow broWin = new BrowserWindow();
            broWin.SearchProperties[UITestControl.PropertyNames.Name] = "Execute Automation";

            HtmlDocument doc = new HtmlDocument(broWin);