How-to click javascript button - and debug noob questions


#1

Source:

Contains a href to a javascript function, has an image as a clickable
element.
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.
Questions:

  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?