protected internal virtual ElementFound FindElement() { if (element == null || element.Stale(ElementFinder.Options)) { element = disambiguationStrategy.ResolveQuery(ElementFinder); } return(element); }
protected internal ElementFound FindElement() { if (element == null || element.Stale(options)) { element = elementFinder.Find(); } return(element); }
protected internal override ElementFound FindElement() { if (elementFound.Stale(options)) { throw new MissingHtmlException(string.Format("Snapshot element scope has become stale. {0}", elementFound)); } return(elementFound); }
public override ElementFound Now() { if (_elementFound.Stale(options)) { throw new MissingHtmlException(string.Format("Snapshot element scope has become stale. {0}", _elementFound)); } return(_elementFound); }