Forum: RSpec Cucumber / Webrat clicks_button problem

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Mikel L. (Guest)
on 2008-10-09 22:09
(Received via mailing list)
Before I dive into the code and fix it, has anyone else worked around
/ found the solution to calling 'clicks_button' when the button is
actually a button and not an input?


<form ... >

<button type="submit" ....>
Text... / Image here

Calling clicks on this doesn't find it as webrat only looks for

Mikel L. (Guest)
on 2008-10-10 12:52
(Received via mailing list)
Never mind, fixed in trunk of Webrat.
This topic is locked and can not be replied to.