How to programmatically access web page in java

Viewed 52587

There is a web page from which I want to retrieve a certain string. In order to do so, I need to login, click some buttons, fill a text box, click another button - and then the string appears.

How can I write a java program to do that automatically? Are there any useful libraries for that purpose?

Thanks

5 Answers
Related