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