Class: Taza::Browser

Inherits:
Object show all
Defined in:
lib/taza/browser.rb

Class Method Summary collapse

Class Method Details

.create(params = {}) ⇒ Object

Create a browser instance depending on configuration. Configuration should be read in via Taza::Settings.config.

Example:

browser = Taza::Browser.create(Taza::Settings.config)


11
12
13
# File 'lib/taza/browser.rb', line 11

def create(params={})
  send("create_#{params[:driver]}", params)
end