예제 #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"));
        }
예제 #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"));
        }