1
0
Fork 0
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:
Thomas Walpole 2022-10-15 16:00:15 -07:00 committed by GitHub
commit 4f9b1ac2e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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