I need to code a bot that needs to do the following:
Go to a jsp page and search for something by:
The 4th one can be done with screen scraping and I do not think I need help with it. But I need some guidance to do the options from 1 to 3. Any links or just some keyword that will help me google to learn about it will be appreciated. I plan to do this with java.
So Selenium is widely used. And it is very popular for a great reason. Because it can help you to create tests for your web applications. And it can also help you to create online bots, which is very nice.
All you need is HTMLUnit
This is an extract from its description
HtmlUnit is a "GUI-Less browser for Java programs". It models HTML documents and provides an API that allows you to invoke pages, fill out forms, click links, etc... just like you do in your "normal" browser.
P.S.: Had used it to build a web scraping project ;)
Maybe it's not what you want, but you can try selenium : http://seleniumhq.org/
It's a web application testing system.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With