/// <summary> /// <para>Check if this element exists within the <see cref="SessionConfiguration.Timeout"/></para> /// </summary> /// <param name="options"> /// <para>Override the way Coypu is configured to find elements for this call only.</para> /// <para>E.g. A longer wait:</para> /// /// <code>new Options{Timeout = TimeSpan.FromSeconds(60)}</code></param> public override bool Exists(Options options = null) { if (_element != null) { return(_element.Exists(options)); } return(Try(new ElementExistsQuery(_element, Merge(options)))); }
public bool Has(ElementScope findElement) { return(findElement.Exists()); }