Exemplo n.º 1
0
        private void InitializeHeadAndBody()
        {
            if (WebElement == null)
            {
                return;
            }

            if (WebElement.Text.Contains("thead"))
            {
                TableHead = new TableHeadSe(WebElement, By.TagName("thead"));
            }

            TableBody = new TableBodySe(WebElement, By.TagName("tbody"));
        }
Exemplo n.º 2
0
        private void InitializeHeadAndBody()
        {
            if (WebElement == null)
            {
                return;
            }

            if (WebElement.Text.Contains("thead"))
            {
                TableHead = new TableHeadSe(WebElement, By.TagName("thead"));
            }

            TableBody = new TableBodySe(WebElement, By.TagName("tbody"));
        }