Exemple #1
0
        public static void AlertTextEquals(this IOperationRunner <IBrowserWrapper> operationRunner, string expectedValue,
                                           bool caseSensitive = false, bool trim = true)
        {
            var AlertTextEquals = new AlertTextEqualsValidator(expectedValue, caseSensitive, trim);

            operationRunner.Evaluate <AlertException>(AlertTextEquals);
        }
Exemple #2
0
        public static void AlertTextEquals(IBrowserWrapper wrapper, string expectedValue,
                                           bool caseSensitive = false, bool trim = true)
        {
            var alertTextEquals = new AlertTextEqualsValidator(expectedValue, caseSensitive, trim);

            EvaluateValidator <AlertException, IBrowserWrapper>(wrapper, alertTextEquals);
        }