public static By CreateLocator(this WebBrowserControl webcontrol, String locator) { return(SeleniumWebElementWrapper.CreateLocator(locator)); }
public static IWebElement FindElement(this WebBrowserControl webcontrol, string locator) { return(webcontrol.GetWebDriver().FindElement(SeleniumWebElementWrapper.CreateLocator(locator))); }
public static ReadOnlyCollection <IWebElement> FindElements(this WebBrowserControl webcontrol, string locator) { return(webcontrol.GetWebDriver().FindElements(webcontrol.CreateLocator(locator))); }
public static IWebDriver GetWebDriver(this WebBrowserControl webcontrol) { return(webcontrol.InternalDriver.UnderlyingObject as IWebDriver); }