예제 #1
0
        public static void AlertText(this IOperationRunner <IBrowserWrapper> operationRunner, Expression <Func <string, bool> > expression, string failureMessage = "")
        {
            var AlertText = new AlertTextValidator(expression, failureMessage);

            operationRunner.Evaluate <AlertException>(AlertText);
        }
예제 #2
0
        public static void AlertText(IBrowserWrapper wrapper, Expression <Func <string, bool> > expression, string failureMessage = "")
        {
            var alertText = new AlertTextValidator(expression, failureMessage);

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