Exception: Capybara::Webkit::JavaScriptError
- Inherits:
-
StandardError
- Object
- StandardError
- Capybara::Webkit::JavaScriptError
- Defined in:
- lib/capybara/webkit/errors.rb
Instance Attribute Summary collapse
-
#javascript_errors ⇒ Object
readonly
Returns the value of attribute javascript_errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ JavaScriptError
constructor
A new instance of JavaScriptError.
Constructor Details
#initialize(errors) ⇒ JavaScriptError
Returns a new instance of JavaScriptError.
49 50 51 52 |
# File 'lib/capybara/webkit/errors.rb', line 49 def initialize(errors) @javascript_errors = errors super(errors.join(",")) end |
Instance Attribute Details
#javascript_errors ⇒ Object (readonly)
Returns the value of attribute javascript_errors.
54 55 56 |
# File 'lib/capybara/webkit/errors.rb', line 54 def javascript_errors @javascript_errors end |