# File lib/selenium/webdriver/common/platform.rb, line 106
      def assert_file(path)
        unless File.file? path
          raise Error::WebDriverError, "not a file: #{path.inspect}"
        end
      end