Beispiel #1
0
        public void NavigateToTableTab(string tabText)
        {
            foreach (IWebElement tab in ListPagination)
            {
                if (tab.Text == tabText)
                {
                    tab.Click();
                    TableStaffDataParsed = WebElementExtensions.ParseHTMLTableByXPath(this.PageSource, "//table");
                    return;
                }
            }

            LogHelpers.WriteToLog($"[ERROR] :: Table Tab Not Found: {tabText}");
            throw new NoSuchElementException($"Table Tab Not Found: {tabText}");
        }