Exception: Undead::InvalidSelector
Instance Attribute Summary
Attributes inherited from ClientError
#response
Instance Method Summary
collapse
Methods inherited from ClientError
#initialize
Instance Method Details
#message ⇒ Object
92
93
94
95
|
# File 'lib/undead/errors.rb', line 92
def message
"The browser raised a syntax error while trying to evaluate " \
"#{method} selector #{selector.inspect}"
end
|
#method ⇒ Object
84
85
86
|
# File 'lib/undead/errors.rb', line 84
def method
response['args'][0]
end
|
#selector ⇒ Object
88
89
90
|
# File 'lib/undead/errors.rb', line 88
def selector
response['args'][1]
end
|