module Capybara

def current_session

Returns:
  • (Capybara::Session) - The currently used session
def current_session
  session_pool["#{current_driver}:#{session_name}:#{app.object_id}"] ||= Capybara::Session.new(current_driver, app)
end