public IWebElement FindElementByXPath(string xpath) { try { return(new WebElementAdapter(syncWebElement.FindElementByXPath(xpath), driver)); } catch (Zu.WebBrowser.BasicTypes.WebBrowserException webDriverException) { throw WebDriverConverters.ToSeleniumException(webDriverException); } catch { throw; } }
public IWebElement FindElementByXPath(string xpath) { return(new WebElementAdapter(syncWebElement.FindElementByXPath(xpath))); }