Exemple #1
0
        public static void HasAttribute(this IOperationRunner <IElementWrapper> operationRunner, string name)
        {
            var HasAttribute = new HasAttributeValidator(name);

            operationRunner.Evaluate <UnexpectedElementStateException>(HasAttribute);
        }
Exemple #2
0
        public static void HasAttribute(IElementWrapper wrapper, string name)
        {
            var hasAttribute = new HasAttributeValidator(name);

            EvaluateValidator <UnexpectedElementStateException, IElementWrapper>(wrapper, hasAttribute);
        }