# File lib/selenium/webdriver/common/driver_extensions/uploads_files.rb, line 35 def file_detector=(detector) unless detector.nil? or detector.respond_to? :call raise ArgumentError, "detector must respond to #call" end bridge.file_detector = detector end