Forum: Ruby on Rails how-to click javascript button - and debug noob questions

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.
Darin G. (Guest)
on 2009-02-03 00:26
class="button"><img src="images/start-my-page.jpg"/></a>

Contains a href to a javascript function, has an image as a clickable
I'm trying to trigger the click by an image reference:
ie.button(:src, /start-my-page/).click

but I exit and get a "1" return code.
1) What is the correct means to click this image?
2) Is there a way to get a more meaningful error than simply a return
code of 1?
This topic is locked and can not be replied to.