- From: Caridy Patiño <notifications@github.com>
- Date: Thu, 15 Nov 2018 08:41:27 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 15 November 2018 16:41:50 UTC
I'm in favor of "given an element get me the shadow root" as a WebDriver specific API to reach into any shadow, whether it is open or closed (this should not work on native elements though). Maybe WebDriver can implement this feature directly, just replacing the `Element.attachShadow` before executing any user-land code. This is probably enough to allow a controlled traversing. I'm not ok with "Find shadow elements". I have seen what that can cause in big apps, and it goes directly against the web component encapsulation, which should also apply to tests and automation IMO. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/771#issuecomment-439106118
Received on Thursday, 15 November 2018 16:41:50 UTC