NUnit.Extensions.Asp.HtmlTester.HtmlAnchorTester.Click C# (CSharp) Method

Click() public method

Click the link. Supports postback and pop-up windows.
public Click ( ) : void
return void
        public void Click()
        {
            string popupLink = PopupLink;
            if (popupLink != null)
            {
                Browser.FollowLink(popupLink);
                return;
            }
            string hRef = HRef;
            if (Form.IsPostBack(hRef))
            {
                Form.PostBack(hRef);
                return;
            }
            Browser.FollowLink(hRef);
        }