require 'selenium-webdriver'

module Selenium
  module WebDriver

    class Element

      # Click in a way that is reliable for IE and works for other browsers as well
      def ie_safe_click
        bridge.browser == :internet_explorer ? send_keys(:enter) : click
      end

      # Click in a way that is reliable for IE and works for other browsers as well
      def ie_safe_checkbox_click
        bridge.browser == :internet_explorer ? send_keys(:space) : click
      end

    end

  end
end

require 'selenium-webdriver'

module Selenium
  module WebDriver

    class Element

      # Click in a way that is reliable for IE and works for other browsers as well
      def browser_safe_click
        bridge.browser == :internet_explorer ? send_keys(:enter) : click
      end

      # Click in a way that is reliable for IE and Firefox and works for other browsers as well
      def browser_safe_checkbox_click
        (bridge.browser == :internet_explorer || bridge.browser == :firefox) ? send_keys(:space) : click
      end

    end

  end
end

Rename monkey patch methods, add firefox to checkbox click method
[JT][111704448] Rename monkey patch methods, add firefox to checkbox click method
