File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes HtmlUnit not fetching ajax updated page content Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Reply Bookmark "HtmlUnit not fetching ajax updated page content" Watch "HtmlUnit not fetching ajax updated page content" New topic
Author

HtmlUnit not fetching ajax updated page content

Soumyajit Hazra
Ranch Hand

Joined: Jun 26, 2007
Posts: 135
Hi Ranchers,

I am using HtmlUnit to navigate into a site. It involves few anchor clicks which are ajax call. But I am unable to get the updated page content. Getting the original page back with "Processing....." string. Used all possible solution like using NicelyResynchronizingAjaxController, wait,sleep. Still getting old page instead of the updated one. Please help.

Soumayajit


Java Programmer | SCJP 1.5 | SCWCD 1.4
 
 
subject: HtmlUnit not fetching ajax updated page content
 
Threads others viewed
reading a web page and extract its contents
Escaping AJAX/javascript code in HTMLUnit
Easy way to parse HTTP response
Update a region with new content from Ajax response
Ajax call problem
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture