public static void IsNotClickable(this IOperationRunner <IElementWrapper> operationRunner) { var isNotClickable = new IsNotClickableValidator(); operationRunner.Evaluate <UnexpectedElementStateException>(isNotClickable); }
public static void IsNotClickable(IElementWrapper wrapper) { var isNotClickable = new IsNotClickableValidator(); EvaluateValidator <UnexpectedElementStateException, IElementWrapper>(wrapper, isNotClickable); }