module Selenium::WebDriver::DriverExtensions::HasFileDownloads

def verify_enabled

def verify_enabled
  return if capabilities['se:downloadsEnabled']
  raise Error::WebDriverError, 'You must enable downloads in order to work with downloadable files.'
end