mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Add simple description to exception
Add description to NotSupportedByDriverError exception to help tracking during debugging
This commit is contained in:
parent
44be4455bf
commit
6038130f54
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ module Capybara
|
|||
|
||||
def inspect
|
||||
%(#<Capybara::Element tag="#{tag_name}" path="#{path}">)
|
||||
rescue NotSupportedByDriverError
|
||||
rescue NotSupportedByDriverError, 'Capybara::Node::Element#inspect'
|
||||
%(#<Capybara::Element tag="#{tag_name}">)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue