Exception: Capybara::Poltergeist::InvalidSelector
Instance Attribute Summary
Attributes inherited from ClientError
#response
Instance Method Summary
collapse
Methods inherited from ClientError
#initialize
Instance Method Details
#message ⇒ Object
95
96
97
98
|
# File 'lib/capybara/poltergeist/errors.rb', line 95
def message
"The browser raised a syntax error while trying to evaluate " \
"#{method} selector #{selector.inspect}"
end
|
#method ⇒ Object
87
88
89
|
# File 'lib/capybara/poltergeist/errors.rb', line 87
def method
response['args'][0]
end
|
#selector ⇒ Object
91
92
93
|
# File 'lib/capybara/poltergeist/errors.rb', line 91
def selector
response['args'][1]
end
|