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); }
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); }