Exception: Capybara::Lightpanda::BrowserError
- Defined in:
- lib/capybara/lightpanda/errors.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ BrowserError
constructor
A new instance of BrowserError.
Constructor Details
#initialize(response) ⇒ BrowserError
Returns a new instance of BrowserError.
18 19 20 21 |
# File 'lib/capybara/lightpanda/errors.rb', line 18 def initialize(response) @response = response super(response["message"]) end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
16 17 18 |
# File 'lib/capybara/lightpanda/errors.rb', line 16 def response @response end |