Пример #1
0
        private string GetBlockLabelContent(IHtmlDocument doc, string testid)
        {
            var block = doc.GetElementByTestId(testid);

            return(block.GetElementsByTagName("div").Single().TextContent.Trim());
        }