Re: Proposal for supporting Web Components and Shadow DOM

> They would be scoped based on the element id you give to search under
>

So the command to get the shadow roots from a WebElement would return a
list of WebElements? Shadow roots aren't actually HTML element objects, but
I suppose from the POV of WebDriver that that doesn't actually matter very
much. It does probably mean that most of the element/:elementId/...
commands will fail if the :elementId corresponds to a shadow root (or they
could be redirected to the owning HTML element I suppose).

I would be fine with this suggestion, assuming I understand it correctly.

Marc

Received on Monday, 19 August 2013 21:06:15 UTC