Class: Selenium::WebDriver::BiDi::JavascriptLogEntry

Inherits:
GenericLogEntry show all
Defined in:
rb/lib/selenium/webdriver/bidi/log/javascript_log_entry.rb

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:) ⇒ 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(level: level, text: text, timestamp: timestamp, type: type, stack_trace: stack_trace)
  @type = 'javascript'
end

Instance Attribute Details

#typeObject

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