/// <summary>
        /// Use this method to know if the paging is enabled
        /// </summary>
        /// <returns></returns>
        public bool IsPagingEnabled()
        {
            try
            {
                var textInPagingSpan = CatalogsTable.FindElement(By.XPath("thead/tr[1]/td")).Text;

                //if (!PagingSpan.IsElementVisible())
                if (string.IsNullOrEmpty(textInPagingSpan) || !textInPagingSpan.Contains("Page of"))
                {
                    Console.WriteLine("Paging not enabled");
                    return(false);
                }
            }
            catch (NoSuchElementException)
            {
                Console.WriteLine("Paging not enabled");
                return(false);
            }

            return(true);
        }
 public IWebElement GetInventoryDownloadButton(int rowIndex)
 {
     return(CatalogsTable.FindElement(By.CssSelector("tbody>tr:nth-of-type(" + rowIndex + ")>td[title=' download']>input[type='image'][ng-show='(Catalog.IsFeedGenerated)']")));
 }
 public string GetCatalogValue(int rowIndex, int colIndex)
 {
     return(CatalogsTable.FindElement(By.CssSelector("tr:nth-of-type(" + rowIndex + ")>td:nth-of-type(" + colIndex + ")")).Text.Trim());
 }
 public IWebElement GetDownloadButton(int rowIndex)
 {
     return(CatalogsTable.FindElement(By.CssSelector("tbody>tr:nth-of-type(" + rowIndex + ")>td[title=' download']>input[type='image']")));
 }