public void CriteriaDetails_WithTextIsCriteria_DisplaysTextIsCriteriaText()
        {
            var finder = new XenonElementsFinder(null);

            finder.TextIs("Hello World");
            Assert.AreEqual("(//input[@value='Hello World' and (@type='submit' or @type='button' or @type= 'reset' ) ] | //*[normalize-space(text()) = normalize-space('Hello World')])", finder.CriteriaDetails());
        }
        public void CriteriaDetails_WithAttributeIsCriteria_DisplaysAttributeCriteriaText()
        {
            var finder = new XenonElementsFinder(null);

            finder.AttributeIs("Hello", "World");
            Assert.AreEqual("[@Hello='World']", finder.CriteriaDetails());
        }