MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / GetShadowRoot

Method GetShadowRoot

dotnet/src/webdriver/IWebElement.cs:216–216  ·  view source on GitHub ↗

Gets the representation of an element's shadow root for accessing the shadow DOM of a web component. Thrown when this element does not have a shadow root. A shadow root representation.

()

Source from the content-addressed store, hash-verified

214 /// <exception cref="NoSuchShadowRootException">Thrown when this element does not have a shadow root.</exception>
215 /// <returns>A shadow root representation.</returns>
216 ISearchContext GetShadowRoot();
217}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected