Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Programmatic web browser Java library

Tags:

java

browser

Does anyone know of any Java library for programmatic web browsing?

Prowser doesn't cut it because there's no "push the button" method and Watij is limited to Internet Explorer Windows only.

like image 233
Strudel Avatar asked Aug 19 '09 12:08

Strudel


2 Answers

htmlunit?

http://htmlunit.sourceforge.net/

The above link says:

... HtmlUnit is not a generic unit testing framework. It is specifically a way to simulate a browser for testing purposes...

like image 137
karim79 Avatar answered Nov 17 '22 12:11

karim79


You may be able to find some of what you want in Selenium and especially when using Selenium Server like in this IBM article

like image 25
Damo Avatar answered Nov 17 '22 12:11

Damo