Class: Selenium::WebDriver::BiDi::BaseLogEntry

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

Direct Known Subclasses

GenericLogEntry

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(level:, text:, timestamp:, stack_trace:) ⇒ BaseLogEntry

Returns a new instance of BaseLogEntry.



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

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

Instance Attribute Details

#levelObject

Returns the value of attribute level.



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

def level
  @level
end

#stack_traceObject

Returns the value of attribute stack_trace.



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

def stack_trace
  @stack_trace
end

#textObject

Returns the value of attribute text.



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

def text
  @text
end

#timestampObject

Returns the value of attribute timestamp.



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

def timestamp
  @timestamp
end