module Selenium::WebDriver::Platform

def assert_file(path)

def assert_file(path)
  return if File.file? path
  raise Error::WebDriverError, "not a file: #{path.inspect}"
end