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