Example #1
0
        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);
        }
Example #2
0
        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);
        }