Class: Selenium::WebDriver::Logs
- Inherits:
-
Object
- Object
- Selenium::WebDriver::Logs
- Defined in:
- lib/selenium/webdriver/common/logs.rb
Instance Method Summary collapse
- #available_types ⇒ Object
- #get(type) ⇒ Object
-
#initialize(bridge) ⇒ Logs
constructor
private
A new instance of Logs.
Constructor Details
#initialize(bridge) ⇒ Logs
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.
28 29 30 |
# File 'lib/selenium/webdriver/common/logs.rb', line 28 def initialize(bridge) @bridge = bridge end |
Instance Method Details
#available_types ⇒ Object
36 37 38 |
# File 'lib/selenium/webdriver/common/logs.rb', line 36 def available_types @bridge.getAvailableLogTypes end |
#get(type) ⇒ Object
32 33 34 |
# File 'lib/selenium/webdriver/common/logs.rb', line 32 def get(type) @bridge.getLog type end |