Class: Selenium::WebDriver::BiDi::ConsoleLogEntry

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

Instance Attribute Summary collapse

Attributes inherited from GenericLogEntry

#type

Attributes inherited from BaseLogEntry

#level, #stack_trace, #text, #timestamp

Instance Method Summary collapse

Constructor Details

#initialize(method:, realm:, args:, **opts) ⇒ ConsoleLogEntry

Returns a new instance of ConsoleLogEntry.



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

def initialize(method:, realm:, args:, **opts)
  super(**opts)
  @method = method
  @realm = realm
  @args = args
end

Instance Attribute Details

#argsObject

Returns the value of attribute args.



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

def args
  @args
end

#methodObject

Returns the value of attribute method.



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

def method
  @method
end

#realmObject

Returns the value of attribute realm.



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

def realm
  @realm
end