public static void IsSelected(this IOperationRunner <IElementWrapper> operationRunner) { var IsSelected = new IsSelectedValidator(); operationRunner.Evaluate <UnexpectedElementStateException>(IsSelected); }
public static void IsSelected(IElementWrapper wrapper) { var isSelected = new IsSelectedValidator(); EvaluateValidator <UnexpectedElementStateException, IElementWrapper>(wrapper, isSelected); }