module Capybara::Selenium::Node::FileInputClickEmulation

def attaching_file?

def attaching_file?
  caller_locations.any? { |cl| cl.base_label == 'attach_file' }
end