class Capybara::Selenium::MarionetteNode

def click_with_options(click_options)

def click_with_options(click_options)
  # Firefox/marionette has an issue clicking with offset near viewport edge
  # scroll element to middle just in case
  scroll_to_center if click_options.coords?
  super
end