public WebBaseElement(By byLocator = null, IWebElement webElement = null, List <IWebElement> webElements = null) { Invoker = new ActionInvoker(this); GetElementClass = new GetElementClass(this); Actions = new ElementsActions(this); WebAvatar = new GetElementModule(this, byLocator) { WebElement = webElement, WebElements = webElements }; }
public WebBaseElement(By byLocator = null, IWebElement webElement = null) { Invoker = new ActionInvoker(this); GetElementClass = new GetElementClass(this); Actions = new ElementsActions(this); _webElement = webElement; Avatar = new GetElementModule { Element = this, ByLocator = byLocator }; }
public WebBaseElement(By byLocator = null, IWebElement webElement = null, List <IWebElement> webElements = null, WebBaseElement element = null) { Invoker = new ActionInvoker(this); GetElementClass = new GetElementClass(this); Actions = new ElementsActions(this); WebAvatar = new GetElementModule(this, byLocator) { WebElement = webElement, WebElements = webElements }; if (element != null) { WebAvatar.DriverName = element.WebAvatar.DriverName; Parent = element.Parent; } }
public WebBaseElement() : this(By.Id("EMPTY")) { Invoker = new ActionInvoker(this); GetElement = new GetElement(this); Actions = new ElementsActions(this); }