Exception: Capybara::Cuprite::ClientError

Inherits:
Error
  • Object
show all
Defined in:
lib/capybara/cuprite/errors.rb

Direct Known Subclasses

InvalidSelector, MouseEventFailed, ObsoleteNode

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ ClientError

Returns a new instance of ClientError.



10
11
12
13
# File 'lib/capybara/cuprite/errors.rb', line 10

def initialize(response)
  @response = response
  super()
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



8
9
10
# File 'lib/capybara/cuprite/errors.rb', line 8

def response
  @response
end