Update: Unfortunately this solution is not working any more with recent versions
of Firefox and FirefoxDriver.
I spent some time currently to automate integration tests and webtests, mainly
using spock [http://spockframework.org/] and, for the web test part, geb
[http://www.gebish.org].
Unfortunately I did not find any