public Screenshot GetScreenshot() { return(WebDriverConverters.SeleniumScreenshot(syncWebElement.GetScreenshot())); }
public IWebElement FindElement(By by) { return(new WebElementAdapter(syncWebElement.FindElement(WebDriverConverters.By(by)))); }
public ReadOnlyCollection <IWebElement> FindElements(By by) { return(new ReadOnlyCollection <IWebElement>(syncWebElement.FindElements(WebDriverConverters.By(by)).Select(v => (IWebElement) new WebElementAdapter(v)).ToList())); }