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

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -