mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Merge pull request #2592 from teamcapybara/invalid_shadow_root
Add selenium DetachedShadowRootError to the invalid element errors
This commit is contained in:
commit
4f9b1ac2e6
1 changed files with 3 additions and 0 deletions
|
@ -323,6 +323,9 @@ class Capybara::Selenium::Driver < Capybara::Driver::Base
|
|||
]
|
||||
end
|
||||
end
|
||||
if defined?(::Selenium::WebDriver::Error::DetachedShadowRootError)
|
||||
errors.concat([::Selenium::WebDriver::Error::DetachedShadowRootError])
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue