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.
26 27 28 29 30 |
# File 'lib/selenium/webdriver/devtools/exception_event.rb', line 26 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.
24 25 26 |
# File 'lib/selenium/webdriver/devtools/exception_event.rb', line 24 def description @description end |
#stacktrace ⇒ Object
Returns the value of attribute stacktrace.
24 25 26 |
# File 'lib/selenium/webdriver/devtools/exception_event.rb', line 24 def stacktrace @stacktrace end |
#timestamp ⇒ Object
Returns the value of attribute timestamp.
24 25 26 |
# File 'lib/selenium/webdriver/devtools/exception_event.rb', line 24 def @timestamp end |