123456789_123456789_123456789_123456789_123456789_

Class: Selenium::WebDriver::DevTools::ExceptionEvent

Relationships & Source Files
Inherits: Object
Defined in: rb/lib/selenium/webdriver/devtools/exception_event.rb

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(description:, timestamp:, stacktrace:) ⇒ ExceptionEvent

[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/devtools/exception_event.rb', line 26

def initialize(description:, timestamp:, stacktrace:)
  @description = description
  @timestamp = Time.at(timestamp / 1000)
  @stacktrace = stacktrace
end

Instance Attribute Details

#description (rw)

[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/devtools/exception_event.rb', line 24

attr_accessor :description, :timestamp, :stacktrace

#stacktrace (rw)

[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/devtools/exception_event.rb', line 24

attr_accessor :description, :timestamp, :stacktrace

#timestamp (rw)

[ GitHub ]

  
# File 'rb/lib/selenium/webdriver/devtools/exception_event.rb', line 24

attr_accessor :description, :timestamp, :stacktrace