/// <summary>
        /// Asserts that an element should be of a specific class
        /// </summary>
        public static AndConnector <NodeWrapper> ShouldBeOfClass(this NodeWrapper node, string className)
        {
            Asserts.Equal(className, node.Attributes["class"]);

            return(new AndConnector <NodeWrapper>(node));
        }
        /// <summary>
        /// Asserts that an element has a specific attribute with a specified value
        /// </summary>
        public static AndConnector <NodeWrapper> ShouldContainAttribute(this NodeWrapper node, string name, string value, StringComparison comparisonType = StringComparison.Ordinal)
        {
            Asserts.Equal(value, node.Attributes[name], comparisonType);

            return(new AndConnector <NodeWrapper>(node));
        }