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