Class: Selenium::WebDriver::BiDi::GenericLogEntry

Inherits:
BaseLogEntry
  • Object
show all
Defined in:
rb/lib/selenium/webdriver/bidi/log/generic_log_entry.rb

Direct Known Subclasses

ConsoleLogEntry, JavascriptLogEntry

Instance Attribute Summary collapse

Attributes inherited from BaseLogEntry

#level, #stack_trace, #text, #timestamp

Instance Method Summary collapse

Constructor Details

#initialize(level:, text:, timestamp:, type:, stack_trace:) ⇒ GenericLogEntry

Returns a new instance of GenericLogEntry.



26
27
28
29
# File 'rb/lib/selenium/webdriver/bidi/log/generic_log_entry.rb', line 26

def initialize(level:, text:, timestamp:, type:, stack_trace:)
  super(level: level, text: text, timestamp: timestamp, stack_trace: stack_trace)
  @type = type
end

Instance Attribute Details

#typeObject

Returns the value of attribute type.



24
25
26
# File 'rb/lib/selenium/webdriver/bidi/log/generic_log_entry.rb', line 24

def type
  @type
end