My Java app download HTML pages from Internet and handle it. Sometimes downloaded HTML pages contain JavaScript code that should be invoked after page loading (JavaScript in <script type="text/javascript">
tags).
It is a possible emulate browser and call JavaScript on serverside?
Here general scenarion desired HTML handling in my app:
- Download HTML page
- Call all JavaScript in tags
- Get HTML after handling with JavaScript
It is a possible to implement above scenarion using Java?
Thank you.