コード例 #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; }
 }
コード例 #2
0
 public string GetProperty(string propertyName)
 {
     return(syncWebElement.GetProperty(propertyName));
 }