module Capybara

def current_driver

Returns:
  • (Symbol) - The name of the driver currently in use
def current_driver
  if threadsafe
    Thread.current['capybara_current_driver']
  else
    @current_driver
  end || default_driver
end