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