Пример #1
0
 public WebElement(IHtmlResult about)
 {
     _my = about;
     if (_my.TotalElementsFound != 1)
     {
         throw new InvalidSelectorException("Should return only one element");
     }
 }
Пример #2
0
 public WebElement(IHtmlResult about)
 {
     _my = about;
     if (_my.TotalElementsFound != 1) throw new InvalidSelectorException("Should return only one element");
 }