Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Simulating clicks and input on a website  RSS feed

 
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.
 
Saloon Keeper
Posts: 4280
106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The HtmlUnit and JWebUnit libraries are great for programmatic web access.
 
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!