Exemplo n.º 1
0
        public void HtmlElement_DecodedValue()
        {
            Browser b = new Browser();

            b.SetContent(Helper.GetFromResources("SimpleBrowser.UnitTests.SampleDocs.DecodedValue.htm"));

            HtmlResult div = b.Select("div");

            Assert.That(div.ToList()[0].DecodedValue, Is.EqualTo("£ sign"));
            Assert.That(div.ToList()[1].DecodedValue, Is.EqualTo("üü"));
        }