def click_button_with_id(id, opts = {})
	     if opts && opts[:index] && opts[:index].to_i() > 0
					elements = find_elements(:id, id)
					the_index = opts[:index].to_i() - 1          
          first_match = elements[the_index]
          focus_on_element(first_match)
          first_match.click
				else
				  focus_on_element(find_element(:id, id))
	        find_element(:id, id).click
        end
		
      end
def click_button_with_id(id, opts = {})
	     if opts && opts[:index] && opts[:index].to_i() > 0
					elements = find_elements(:id, id)
					the_index = opts[:index].to_i() - 1          
          first_match = elements[the_index]
          focus_on_element(first_match)
          first_match.click
				else
				  focus_on_element(find_element(:id, id))
	        find_element(:id, id).click
        end
		
      end
Click a button with give HTML id
 Usage:
   click_button_with_id("btn_sumbit")
   click_button_with_id("btn_sumbit", :index => 2) # the secone link with same id, not good gractice in HTML