Class: Selenium::WebDriver::BiDi::JavascriptLogEntry
- Inherits:
-
GenericLogEntry
- Object
- BaseLogEntry
- GenericLogEntry
- Selenium::WebDriver::BiDi::JavascriptLogEntry
- Defined in:
- rb/lib/selenium/webdriver/bidi/log/javascript_log_entry.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from BaseLogEntry
#level, #stack_trace, #text, #timestamp
Instance Method Summary collapse
-
#initialize(level:, text:, timestamp:, type:, stack_trace:) ⇒ JavascriptLogEntry
constructor
A new instance of JavascriptLogEntry.
Constructor Details
#initialize(level:, text:, timestamp:, type:, stack_trace:) ⇒ JavascriptLogEntry
Returns a new instance of JavascriptLogEntry.
26 27 28 29 |
# File 'rb/lib/selenium/webdriver/bidi/log/javascript_log_entry.rb', line 26 def initialize(level:, text:, timestamp:, type:, stack_trace:) super @type = 'javascript' end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
24 25 26 |
# File 'rb/lib/selenium/webdriver/bidi/log/javascript_log_entry.rb', line 24 def type @type end |