Exception: Capybara::Apparition::UnsupportedFeature
Instance Attribute Summary
Attributes inherited from ClientError
#response
Instance Method Summary
collapse
Methods inherited from ClientError
#initialize
Instance Method Details
#message ⇒ Object
152
153
154
|
# File 'lib/capybara/apparition/errors.rb', line 152
def message
"Running version of Chrome #{version} does not support some feature: #{unsupported_message}"
end
|
#name ⇒ Object
140
141
142
|
# File 'lib/capybara/apparition/errors.rb', line 140
def name
response['name']
end
|
#unsupported_message ⇒ Object
144
145
146
|
# File 'lib/capybara/apparition/errors.rb', line 144
def unsupported_message
response['args'][0]
end
|
#version ⇒ Object
148
149
150
|
# File 'lib/capybara/apparition/errors.rb', line 148
def version
response['args'][1].values_at('major', 'minor', 'patch').join '.'
end
|