Class: Selenium::Client::Driver

Inherits:
Object
  • Object
show all
Defined in:
lib/sauce-test/selenium/client_driver_extension.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.last_session_idObject



19
20
21
# File 'lib/sauce-test/selenium/client_driver_extension.rb', line 19

def self.last_session_id
  @@last_session_id
end

.set_sauce_options(sauce_options) ⇒ Object



15
16
17
# File 'lib/sauce-test/selenium/client_driver_extension.rb', line 15

def self.set_sauce_options(sauce_options)
  @@sauce_options = sauce_options
end

Instance Method Details

#start_new_browser_session(options = {}) ⇒ Object



9
10
11
12
13
# File 'lib/sauce-test/selenium/client_driver_extension.rb', line 9

def start_new_browser_session(options={})
  sauce_init
  super(options)
  @@last_session_id = @session_id
end