def fire_event(event_name)
      event_name = event_name.to_s.sub(/^on/, '').downcase

      element_call { execute_js :fireEvent, @element, event_name }
    end
def fire_event(event_name)
      event_name = event_name.to_s.sub(/^on/, '').downcase

      element_call { execute_js :fireEvent, @element, event_name }
    end
Simulates JavaScript events on element.
 Note that you may omit "on" from event name.

 @example
   browser.button(name: "new_user_button").fire_event :click
   browser.button(name: "new_user_button").fire_event "mousemove"
   browser.button(name: "new_user_button").fire_event "onmouseover"

 @param [String, Symbol] event_name