I'm using HtmlUnit [see this], and I bumped into a weird problem:
I'm trying to call a page, click a button and retrieve the subsequent page.
It works fine, but sometimes it bumps out with ElementNotFoundException when I try setting the value attribute for a field in the retrieved page.
I tried adding a Sleep(1000), but it doesn't help...
Any idea?