webdriver
webdriver copied to clipboard
[Find Element(s) From Shadow Root: Tag name strategy] Impossible to call `getElementsByTagName()` for ShadowRoot
Following two are common steps for "Find Element(s) From Shadow Root"
- Let start node be the result of trying to get a known shadow root with session and URL variables["shadow id"].
- Let result be the value of trying to Find with session, start node, location strategy, and selector.
However, if the element location strategy is Tag name, this is impossible, as getElementsByTagName is only a method for Document or Element.