Class: Selenium::WebDriver::Logs

Inherits:
Object
  • Object
show all
Defined in:
rb/lib/selenium/webdriver/common/logs.rb

Instance Method Summary (collapse)

Constructor Details

- (Logs) initialize(bridge)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Logs



9
10
11
# File 'rb/lib/selenium/webdriver/common/logs.rb', line 9

def initialize(bridge)
  @bridge = bridge
end

Instance Method Details

- (Object) available_types



17
18
19
# File 'rb/lib/selenium/webdriver/common/logs.rb', line 17

def available_types
  @bridge.getAvailableLogTypes
end

- (Object) get(type)



13
14
15
# File 'rb/lib/selenium/webdriver/common/logs.rb', line 13

def get(type)
  @bridge.getLog type
end