Class: Capybara::Lightpanda::Browser::SeleniumCompat::LogEntry
- Inherits:
-
Struct
- Object
- Struct
- Capybara::Lightpanda::Browser::SeleniumCompat::LogEntry
- Defined in:
- lib/capybara/lightpanda/browser/selenium_compat.rb
Overview
Selenium's Logs#get(:browser) shape over Browser#console_logs.
level is the Selenium severity string ("SEVERE"/"WARNING"/…), not
the CDP console type, because that is what callers compare against.
Instance Attribute Summary collapse
-
#level ⇒ Object
Returns the value of attribute level.
-
#message ⇒ Object
Returns the value of attribute message.
-
#timestamp ⇒ Object
Returns the value of attribute timestamp.
Instance Method Summary collapse
Instance Attribute Details
#level ⇒ Object
Returns the value of attribute level
27 28 29 |
# File 'lib/capybara/lightpanda/browser/selenium_compat.rb', line 27 def level @level end |
#message ⇒ Object
Returns the value of attribute message
27 28 29 |
# File 'lib/capybara/lightpanda/browser/selenium_compat.rb', line 27 def @message end |
#timestamp ⇒ Object
Returns the value of attribute timestamp
27 28 29 |
# File 'lib/capybara/lightpanda/browser/selenium_compat.rb', line 27 def @timestamp end |
Instance Method Details
#to_s ⇒ Object
28 29 30 |
# File 'lib/capybara/lightpanda/browser/selenium_compat.rb', line 28 def to_s "#{} #{level} #{}" end |