public static void HasAttribute(this IOperationRunner <IElementWrapper> operationRunner, string name) { var HasAttribute = new HasAttributeValidator(name); operationRunner.Evaluate <UnexpectedElementStateException>(HasAttribute); }
public static void HasAttribute(IElementWrapper wrapper, string name) { var hasAttribute = new HasAttributeValidator(name); EvaluateValidator <UnexpectedElementStateException, IElementWrapper>(wrapper, hasAttribute); }