public static void ContainsText(this IOperationRunner <IElementWrapper> operationRunner) { var ContainsText = new ContainsTextValidator(); operationRunner.Evaluate <UnexpectedElementStateException>(ContainsText); }
public static void ContainsText(IElementWrapper wrapper) { var containsText = new ContainsTextValidator(); EvaluateValidator <UnexpectedElementStateException, IElementWrapper>(wrapper, containsText); }