I am working on a scraping data from a series of tables on an HTML website. The website has varying numbers of tables depending on the input, so I am trying to use: .find_elements_by_xpath("//table") to simply get a list with all the table elements on the page.
However, it is only returning the first table on the page in this case. When I use find_element_by_xpath(//table[2]), it returns the other table, but using find_elements does not.
The website portal is here, just press send at the bottom. (I am trying to get the data from the results page). I am using Selenium in Python on the Firefox Webbrowser.
Interesting note, the header table has an XPath of table[1], which begs the question of where is table[0].

count = driver.find_elements_by_xpath("//table") print(len(count))EC. presence_of_element_located(By. XPATH, "//table[2])It loads table 2 just fine, but still, the other tables are not found byEC.presence_of_all_elements_located