I need help reading the contents of a webpage. Currently i am using the following method to read the contents
However with this method there is a problem. . some jsp pages have ajax in them which randomly updates a css class of a webpage like so
So as a result when this page reader is read through my java method as mentioned above i just get
although on the screen this class has a value.
Now however if i save the page first (by clicking save as in Firefox) then the values appended in the CSS class by jquery are also visible.
Is there a method or a way on how i could read the values or obtain the values like firefox does by saving the pages.. I want to read the contents of the entire webpage with the Ajax values present in the class