Class: Selenium::WebDriver::DevTools::ExceptionEvent
- Inherits:
-
Object
- Object
- Selenium::WebDriver::DevTools::ExceptionEvent
- Defined in:
- lib/selenium/webdriver/devtools/exception_event.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#stacktrace ⇒ Object
Returns the value of attribute stacktrace.
-
#timestamp ⇒ Object
Returns the value of attribute timestamp.
Instance Method Summary collapse
-
#initialize(description:, timestamp:, stacktrace:) ⇒ ExceptionEvent
constructor
A new instance of ExceptionEvent.
Constructor Details
#initialize(description:, timestamp:, stacktrace:) ⇒ ExceptionEvent
Returns a new instance of ExceptionEvent.
27 28 29 30 31 |
# File 'lib/selenium/webdriver/devtools/exception_event.rb', line 27 def initialize(description:, timestamp:, stacktrace:) @description = description @timestamp = Time.at( / 1000) @stacktrace = stacktrace end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
25 26 27 |
# File 'lib/selenium/webdriver/devtools/exception_event.rb', line 25 def description @description end |
#stacktrace ⇒ Object
Returns the value of attribute stacktrace.
25 26 27 |
# File 'lib/selenium/webdriver/devtools/exception_event.rb', line 25 def stacktrace @stacktrace end |
#timestamp ⇒ Object
Returns the value of attribute timestamp.
25 26 27 |
# File 'lib/selenium/webdriver/devtools/exception_event.rb', line 25 def @timestamp end |