module RSpec::Rails::SystemExampleGroup

def app

Delegates to `Rails.application`.
def app
  ::Rails.application
end

def driven_by(*args, &blk)

def driven_by(*args, &blk)
  @driver = ::ActionDispatch::SystemTestCase.driven_by(*args, &blk).tap(&:use)
end

def initialize(*args, &blk)

def initialize(*args, &blk)
  super(*args, &blk)
  @driver = nil
end

def method_name

Other tags:
    Private: -
def method_name
  @method_name ||= [
    self.class.name.underscore,
    RSpec.current_example.description.underscore,
    rand(1000)
  ].join("_").gsub(/[\/\.:, ]/, "_")
end

def passed?

for the SystemTesting Screenshot situation
def passed?
  RSpec.current_example.exception.nil?
end