Watij now includes a pre-configured version of BeanShell that allows you to use the Watij API to control Internet Explorer in real-time.
 
Check it out.  http://watij.xwiki.com
 
-Brian