Download the entire webpage
There are ways to download an entire webpage, using HTMLEditorKit . However, I need to download an entire webpage which needs scrolling in order to load its entire content . This technology is achieved most commonly through JavaScript bundled with Ajax. Q.: Is there a way to trick the destined webpage, using only Java code , in order to download its full content? Q.2: If this is not possible only with Java, then is it possible in combination with JavaScript? Simple notice, what I wrote: public class PageDownload { public static void main(String[] args) throws Exception { String webUrl = "...";