public ReadOnlyCollection <IWebElement> FindElementsById(string id) { try { return(new ReadOnlyCollection <IWebElement>(syncWebElement.FindElementsById(id).Select(v => (IWebElement) new WebElementAdapter(v, driver)).ToList())); } catch (Zu.WebBrowser.BasicTypes.WebBrowserException webDriverException) { throw WebDriverConverters.ToSeleniumException(webDriverException); } catch { throw; } }
public ReadOnlyCollection <IWebElement> FindElementsById(string id) { return(new ReadOnlyCollection <IWebElement>(syncWebElement.FindElementsById(id).Select(v => (IWebElement) new WebElementAdapter(v)).ToList())); }