Module: TestingBot::Capybara

Defined in:
lib/testingbot/capybara.rb

Defined Under Namespace

Classes: CustomDriver

Class Method Summary collapse

Class Method Details

.start_tunnelObject



12
13
14
15
16
17
# File 'lib/testingbot/capybara.rb', line 12

def self.start_tunnel
  return @tunnel unless @tunnel.nil?

  @tunnel = TestingBot::Tunnel.new(TestingBot.get_config[:tunnel_options] || {})
  @tunnel.start
end