Re: Proposal for supporting Web Components and Shadow DOM

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

Ken


On Mon, Aug 19, 2013 at 10:06 AM, Marc Fisher <fisherii@google.com> wrote:

> In that case, how would the current find element commands work? Would they
> traverse the DOM as rendered, or would they be scoped somehow? And if they
> are traversing the dom as rendered, then what is the purpose of getting the
> list of shadow roots for an element?
>
> Marc
>
>
> On Mon, Aug 19, 2013 at 10:02 AM, Ken Kania <kkania@google.com> wrote:
>
>> I'm not sure I see the motivation for adding 3 new commands with the new
>> DOM type.  I think we should reuse the current find element commands, and
>> just add one new command for getting the list of shadow roots for an
>> element.
>>
>>
>> On Thu, Aug 15, 2013 at 3:59 PM, Marc Fisher <fisherii@google.com> wrote:
>>
>>> So we are wanting to start testing applications that are built using Web
>>> Components and therefore require access to the shadow DOM. We would like to
>>> start implementing some of this support in ChromeDriver. However when we
>>> look at the minimal section in the spec that refers to shadow dom, the
>>> proposed API is pretty ugly and incomplete. I have written up a brief
>>> proposal for a replacement in:
>>>
>>> https://docs.google.com/document/d/1qP7Se3MDUac5P0V1Kfm2yaj3fFhBOFCyWyXLcsVwkTA/edit?usp=sharing
>>>
>>> Please comment.
>>>
>>> Marc
>>>
>>
>>
>

Received on Monday, 19 August 2013 20:31:04 UTC