Unreliable click behaviour for 'styled' checkboxes

23 views
Skip to first unread message

Björn Wilmsmann

unread,
May 13, 2013, 1:22:09 PM5/13/13
to casp...@googlegroups.com
A web app I'm testing with CasperJS uses jqTransform ( https://github.com/jcamenisch/jqTransform ) for styling checkboxes by adding div overlays to checkbox elements.

Several of those 'styled' checkboxes have an onClick event that activates further elements on the page. Though this certainly is a bit of a hack it works fine and reliably in any modern browser including WebKit ones (i.e. Safari and Chrome).

However, I can't get the behaviour to work reliably with CasperJS. Sometimes the onClick event is fired, sometimes it isn't. I've tried several things using waitFor etc.

Is this a known issue? Are there any workarounds?
Reply all
Reply to author
Forward
0 new messages