Exception: Capybara::Poltergeist::ClientError
- Defined in:
- lib/capybara/poltergeist/errors.rb
Direct Known Subclasses
BrowserError, FrameNotFound, InvalidSelector, JavascriptError, NodeError, StatusFailError, UnsupportedFeature
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ ClientError
constructor
A new instance of ClientError.
Constructor Details
#initialize(response) ⇒ ClientError
Returns a new instance of ClientError.
11 12 13 |
# File 'lib/capybara/poltergeist/errors.rb', line 11 def initialize(response) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
9 10 11 |
# File 'lib/capybara/poltergeist/errors.rb', line 9 def response @response end |