I am currently working on a project that involves a lot of html parsing. I have come across and issue that I cannot find the solution to. Basically, what I have is an application that downloads html from a website and parses it (I am using HTMLCleaner as my parser). However, this website contains some javascript elements, which after execution change the html. What I need to do is execute the javascript function from my application and then download the html.
I have been looking for the solution for days, but all I managed to find was how to do this using WebView, which in my case I do not want.
I do have an idea for solving the problem, which is making an unrendered WebView and using that. However, I am sure there is one better then that.
Thank you in advance.