Closed
Description
What happened?
element.getShadowRoot().equals(element.getShadowRoot())
does evaluate to false, this breaks using ShadowRoot
in a Map
/ Set
.
ShadowRoot
should implement .equals / .hashCode comparing the driver and the remote id.
How can we reproduce the issue?
`element.getShadowRoot().equals(element.getShadowRoot())`
Relevant log output
N/A
Operating System
N/A
Selenium version
4.16.1
What are the browser(s) and version(s) where you see this issue?
N/A
What are the browser driver(s) and version(s) where you see this issue?
N/A
Are you using Selenium Grid?
N/A