Monitoring chat rooms with HtmlUnit, is it possible?
<p>I started with <code>HtmlUnit</code> recently, had some success scraping some pages and interacting with it, really powerful tool... </p>

<p>But, as far as my knowledge goes, I just retrieved a page with a certain state... My next step is to make <code>HtmlUnit</code> to read the messages from a chat room, constantly, and store/do something when a certain string/regexp  matches. I was thinking even about interacting with the chat room. </p>

<p>I'm not sure if HtmlUnit goes that far, I did some research and found something about <code>webDriver</code>, <code>webWindow</code>, etc, maybe I will need to work with Threads to do this....</p>

<p>Can you guys point me in the right direction? </p>

<p>Thank you very much</p>