public static void JsPropertyInnerTextEquals(this IOperationRunner <IElementWrapper> operationRunner, string text, bool caseSensitive = false, bool trim = true) { var JsPropertyInnerTextEquals = new JsPropertyInnerTextEqualsValidator(text, caseSensitive, trim); operationRunner.Evaluate <UnexpectedElementStateException>(JsPropertyInnerTextEquals); }
public static void JsPropertyInnerTextEquals(IElementWrapper wrapper, string text, bool caseSensitive = false, bool trim = true) { var jsPropertyInnerTextEquals = new JsPropertyInnerTextEqualsValidator(text, caseSensitive, trim); EvaluateValidator <UnexpectedElementStateException, IElementWrapper>(wrapper, jsPropertyInnerTextEquals); }