[Celerity-users] unable to click a button - overlooking something ?
Jari Bakken
jari.bakken at gmail.com
Sat Sep 26 20:30:36 EDT 2009
On Sat, Sep 26, 2009 at 8:12 PM, Axel Etzold <AEtzold at gmx.de> wrote:
> Dear all,
>
> I'd like to enter some text into a text field in a
> website and click a button.
> Entering the text works, finding the button works,
> but clicking it doesn't ( I am expecting a page
> with many different tenses of a Portuguese verb, "falar").
>
> What am I missing ?
>
The clicking works - you can confirm it by doing 'puts browser.xml'
instead of 'puts browser.text'. However, it seems like you've hit a
bug in HtmlUnit's HTML parser - it's having trouble with the invalid
use of the <ul> tag on this page, which causes Browser#text to fail.
You should:
1. Make sure the page validates if you're the author
2. File a bug report to HtmlUnit's tracker:
http://sourceforge.net/tracker/?group_id=47038&atid=448266
More information about the Celerity-users
mailing list