Re: Proposal for supporting Web Components and Shadow DOM

You understand correctly.  I thought most stuff would work fine since I
think we allow the Document to be treated as a WebElement, but there might
be some stuff that needs to be fixed or perhaps throw an error for.


On Mon, Aug 19, 2013 at 2:05 PM, Marc Fisher <fisherii@google.com> wrote:

>
> 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 Tuesday, 20 August 2013 20:07:29 UTC