ruby - click a button inside a form that is an image -
when this
pp form
i
{buttons [imagebutton:0x49cc436 type: image name: go value: ]}>
how submit when button image? since won't work
button = form.image_with(:class => "go")
and css
<input type="image" src="/images/btn_search_3.gif" name="go" class="go" alt="sök">
did try:
form.submit form.button
make effort @ mechanize docs first before posting questions please.
Comments
Post a Comment