Module: Maze::Client::Selenium

Defined in:
lib/maze/client/selenium.rb,
lib/maze/client/selenium/bb_client.rb,
lib/maze/client/selenium/bs_client.rb,
lib/maze/client/selenium/base_client.rb,
lib/maze/client/selenium/local_client.rb

Defined Under Namespace

Classes: BaseClient, BitBarClient, BrowserStackClient, LocalClient

Class Method Summary collapse

Class Method Details

.startObject



4
5
6
7
8
9
10
11
12
13
# File 'lib/maze/client/selenium.rb', line 4

def self.start
  client_class =
    case Maze.config.farm
    when :bb then BitBarClient
    when :bs then BrowserStackClient
    when :local then LocalClient
    end

  client_class.new.tap(&:start_session)
end