public WebElement(IHtmlResult about) { _my = about; if (_my.TotalElementsFound != 1) { throw new InvalidSelectorException("Should return only one element"); } }
public WebElement(IHtmlResult about) { _my = about; if (_my.TotalElementsFound != 1) throw new InvalidSelectorException("Should return only one element"); }