module Selenium::WebDriver::DriverExtensions::UploadsFiles

def file_detector=(detector)

def file_detector=(detector)
  raise ArgumentError, 'detector must respond to #call' unless detector.nil? || detector.respond_to?(:call)
  bridge.file_detector = detector
end