internal void UpdateTestHtmlDocumentView()
        {
            var doc = SwdBrowser.GetPageSource();

            var root         = doc.DocumentNode.ChildNodes.FindFirst(@"html");
            var treeRootNode = new TreeNode(root.Name);

            treeRootNode.Name = root.Name.ToLower();
            treeRootNode.Tag  = new HtmlTreeNodeData()
            {
                nodeXPath        = "/html",
                OriginalHtmlNode = root,
            };
            ParseHtmlNodes(treeRootNode, root.ChildNodes, "/html[1]");

            view.AddTestHtmlNodes(treeRootNode);
        }
        internal void UpdateTestHtmlDocumentView()
        {
            Presenters.SwdMainPresenter.PauseWebElementExplorerProcessing();

            HAP.HtmlDocument doc  = SwdBrowser.GetPageSource();
            HAP.HtmlNode     root = doc.DocumentNode.ChildNodes.FindFirst(@"html");

            var treeRootNode = new TreeNode(root.Name);

            treeRootNode.Name = root.Name.ToLower();
            treeRootNode.Tag  = new HtmlTreeNodeData()
            {
                nodeXPath        = "/html",
                OriginalHtmlNode = root,
            };
            ParseHtmlNodes(treeRootNode, root.ChildNodes, "/html[1]");

            view.AddTestHtmlNodes(treeRootNode);

            Presenters.SwdMainPresenter.ResumeWebElementExplorerProcessing();
        }