Beispiel #1
0
 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 GetAttribute(string attributeName)
 {
     return(syncWebElement.GetAttribute(attributeName));
 }