2

So I have a Java based webpage (uses .jsp files) and I need to simulate a browser to do the following programatically:

  • Fill out forms and login
  • Click on buttons and save files
  • Deal with JavaScript
  • Compare Data with a file
  • Optional: Read HTML

The thing is that using Requests didn't seem to work for me, since it has to generate a JSSESSID and other JavaScript cookies. Something like PhantomJS, but what is still being developed would be required. Any idea? Thanks.

0

Well I ended up using a library to program the clicks. For anyone interested there is a list of headless browsers under https://github.com/dhamaniasad/HeadlessBrowsers

Case closed *bangs hammer*

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.