public void PseudoFirstTest() { var text = @"<ul> <li class=""top""><span class=""date"" style=""display: block;"">x</span><span class=""title""><a target=""_blank"" href=""https://www.aaa.com/html/it/343752.htm"">aaaa</a></span></li> <li class=""new""><span class=""date"" style=""display: block;"">y</span><span class=""title""><a target=""_blank"" href=""https://www.aaa.com/html/digi/346221.htm"">bbbb</a></span></li> <li class=""new""><span class=""date"" style=""display: block;"">z</span><span class=""title""><a target=""_blank"" href=""https://www.aaa.com/html/it/346264.htm"">cccc</a></span></li></ul>"; ISelectable selectable = new HtmlSelectable(text); var result1 = selectable.Select(new CssSelector("ul li a")).Value; Assert.Equal("aaaa", result1); //var result2 = selectable.Select(new CssSelector("ul li a")).GetValue(); //Assert.Equal("cccc", result2); }