Class: Selenium::WebDriver::Logs
Relationships & Source Files | |
Inherits: | Object |
Defined in: | rb/lib/selenium/webdriver/common/logs.rb |
Class Method Summary
- .new(bridge) ⇒ Logs constructor Internal use only Internal use only
Instance Method Summary
Constructor Details
.new(bridge) ⇒ Logs
This method is for internal use only.
# 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