How do I set up Java Httpclient to accept Javascript and Cookies?

Asked

Viewed 70 times

1

I need my Httpclient return to be able to run a Javascript and load cookies inside it, someone knows how to configure it so this can be possible?

Grateful

  • Httpclient is for making an HTTP request and not emulating (the behaviour it would have in) a browser. Htmlunit and Selenium have Javascript support.

  • You may be interested in Nashorn: http://www.infoq.com/br/articles/nashorn

  • How this Htmlunit works, and this Selenium, re22?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.