public static void JsPropertyInnerHtml(this IOperationRunner <IElementWrapper> operationRunner, Expression <Func <string, bool> > expression, string failureMessage = null) { var JsPropertyInnerHtml = new JsPropertyInnerHtmlValidator(expression, failureMessage); operationRunner.Evaluate <UnexpectedElementStateException>(JsPropertyInnerHtml); }
public static void JsPropertyInnerHtml(IElementWrapper wrapper, Expression <Func <string, bool> > expression, string failureMessage = null) { var jsPropertyInnerHtml = new JsPropertyInnerHtmlValidator(expression, failureMessage); EvaluateValidator <UnexpectedElementStateException, IElementWrapper>(wrapper, jsPropertyInnerHtml); }