/// <summary> /// Initializes a new instance of the <see cref="CheckElementWrapper"/> class. /// </summary> /// <param name="elementWrapper">The element wrapper.</param> public CheckElementWrapper(ElementWrapper elementWrapper) { this.ElementWrapper = elementWrapper; }
public static void IsElementNotInView(IElementWrapper wrapper, ElementWrapper element) { var isElementNotInView = new IsElementNotInViewValidator(element); EvaluateValidator <UnexpectedElementStateException, IElementWrapper>(wrapper, isElementNotInView); }