From: Ahmed A. <asa...@ya...> - 2014-10-20 07:21:02
|
Hi, As you know, HtmlUnit automatically handles the JavaScript on your behalf. You need to know a little about JavaScript/Ajax, so you can know how the website work. A common question with Ajax is described in http://htmlunit.sourceforge.net/faq.html#AJAXDoesNotWork Hope that helps, Ahmed From: aershov522 <aer...@gm...> To: htm...@li... Sent: Sunday, October 19, 2014 12:24 AM Subject: Re: [Htmlunit-user] Can I modify the Javascript downloaded by HTMLUnit? Hi All,Iam trying to fetch/parse html content from a website that has Ajax & JavaScript included. The issue here is with pagination. When i view the source of the html page it (pagination link) there is no visible URL which is usually the case to fetch/render data from the server side. I understand this being loaded by a java script on every request and that is where i have lost clue. Is there a possible way to know how exactly java script is fetching the data directly from the server without any visible URL and implementing the pagination action. Since only then i can implement the same pagination using htmlunit in my web application. pls share any code link or example that would assist. thank you all...RegardsAershov View this message in context: Re: Can I modify the Javascript downloaded by HTMLUnit? Sent from the HtmlUnit - General mailing list archive at Nabble.com. |