for retrieve table data purpose, it is not necessary to disable the Javascript. Disable Javascript may cause a lot of Webdriver functions abnormal. You can have a iteration to click ">" button and retrieve every 10 records back. ">" button class will change to disabled when the final page arrived. It is not hard, at least easier than disable javascript.
Best Regards,
--david
Hello,I'm trying to get some data from this website (for an university project)
I need the data inside the table before the page completes to load. I noticed that disabling javascript, when the loading ends there is still all the data I need inside the table.My problem is that with javascript when the driver.get method is completed my data is already gone. I also tried using a timeout to block the page loading but it doesn't work all the times.
At this point I think the best way to solve the problem is to disable javascript but I can't manage to make it work inside the driver, can you help me?