module Capybara::Selenium::Node::FileInputClickEmulation

def emulate_click

def emulate_click
  driver.execute_script(<<~JS, self)
    arguments[0].dispatchEvent(
      new MouseEvent('click', {
        view: window,
        bubbles: true,
        cancelable: true
      }));
  JS
end