private void Init(string name, IWebElement webElement) { TextElement = new TextElement(name + " text", webElement); }
private void Init(string name, By byLocator) { TextElement = new TextElement(name + " text", byLocator); }