This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Simulating clicks and input on a website  RSS feed

 
Moe Kennedy
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Im trying to navigate on a website with Java.
I dont want to get the HTML-page, I need to fill out some input-fields and then click a submit button.

Thanks for any advice.
 
Tim Moores
Saloon Keeper
Posts: 3953
94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The HtmlUnit and JWebUnit libraries are great for programmatic web access.
 
Soumyajit Hazra
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use Selenium HtmlUnitDriver also for the purpose. Take a look here
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!