public Element(WatiNCore.Element automationElement, string selector) { this.AutomationElement = automationElement; this.selector = selector; var nativeBounds = automationElement.NativeElement.GetElementBounds(); this.bounds = new Tuple <int, int, int, int>(nativeBounds.Left, nativeBounds.Top, nativeBounds.Size.Width, nativeBounds.Size.Height); }
public ElementAttributeSelector(WatiNCore.Element automationElement) { this.automationElement = automationElement; }
public Element(WatiNCore.Element automationElement) : this(automationElement, null) { }
private void fireOnChange(WatiNCore.Element element) { this.browser.DomContainer.Eval(string.Format("if (typeof jQuery != 'undefined') {{ jQuery({0}).change(); }}", element.GetJavascriptElementReference())); }