123456789_123456789_123456789_123456789_123456789_

Class: Selenium::WebDriver::Logs

Relationships & Source Files
Inherits: Object
Defined in: rb/lib/selenium/webdriver/common/logs.rb

Class Method Summary

Instance Method Summary

Constructor Details

.new(bridge) ⇒ Logs

This method is for internal use only.
[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/common/logs.rb', line 27

def initialize(bridge)
  @bridge = bridge
end

Instance Method Details

#available_types

[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/common/logs.rb', line 35

def available_types
  @bridge.available_log_types
end

#get(type)

[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/common/logs.rb', line 31

def get(type)
  @bridge.log type
end