Esempio n. 1
0
        public void Click()
        {
            object         refObj   = null;
            IHTMLDocument4 document = node.document as IHTMLDocument4;
            IHTMLElement3  element  = (IHTMLElement3)node;

            IHTMLEventObj eventObject = document.CreateEventObject(ref refObj);
            object        eventRef    = eventObject;

            element.FireEvent("onMouseDown", ref eventRef);
            element.FireEvent("onMouseUp", ref eventRef);
            node.click();
            parent.WaitForLoadToComplete();
        }
Esempio n. 2
0
 public string SelectTextWithXPath(string xpath)
 {
     currentWrapper.WaitForLoadToComplete();
     return(currentWrapper.SelectTextWithXPath(xpath));
 }