the source html of the page I'm attempting to extract data from
I am currently using Selenium Webdriver to scrape a web table that is generated by certain JavaScripts.
driver.get("http://xxxxx:xxxxxxxx@xxxxxx-
xxxxxx.grid.xxxxxx.com/Windchill/app/#ptc1/comp/queue.table");
driver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);
List<WebElement> k=driver.findElements(By.xpath("//*[@id='queue.table']"));
System.out.println(k.size());
System.out.println(k.get(0).getText());
k.size() returns 1 and when I try to get text it only displays a few entries from the table
The actual table and entries - there are a total of 135 rows
After running the script, the output looks like this:
Queue Management
Loading...
Name Type Status Enabled Group Total Entries Waiting Entries Severe/Failed Entries
DeleteCompletedWorkItemsQueue Process Started Enabled Default 0 0 0
DeliveryStatusOnStartup Process Started Enabled Default 0 0 0
DTODeliverablesQueue Process Started Enabled Default 0 0 0
DTOOffPeakQueue Process Started Enabled Default 0 0 0
Loading.........
Only 25 entries from the table are displayed, while the remaining are missing. I'm puzzled by why "Loading....." is still present.