public string GetAttribute(string attributeName) { try { var res = syncWebElement.GetProperty(attributeName); return(res ?? syncWebElement.GetAttribute(attributeName)); } catch (Zu.WebBrowser.BasicTypes.WebBrowserException webDriverException) { throw WebDriverConverters.ToSeleniumException(webDriverException); } catch { throw; } }
public string GetProperty(string propertyName) { return(syncWebElement.GetProperty(propertyName)); }