After some hours of trying and reading, I'm a bit lost about the title subject.
My problem : I am trying to get the full HTML content (javascript HTML appended/added content) of a single web page. What I have already try :
- I used Jsoup, but I had to change because of the fact that jsoup doesn't handle javascript content.
- I used HmtlUtil but I get many errors on the loading of the targeted webpage (like Css error, runtimeError, EcmaError, etc.)
- I used the basic functionnality of Chrome to save the full content webpage and then I used the Jsoup library to get the content i wanted to find. This is the only way I could have get the content I wish get.
So now, the question is, how can I imitate the "save as" function of a browser or how can I, in general, get the full HTML content first AND then use Jsoup to scan the static final HTML content ?
Thanks a lot for your advise and your help !
$('<div/>').html( $('html').clone() ).html();