Re: [w3c/webcomponents] Idea: ComposedTreeProxy (#516)

@rniwa 

> tests relying on third party components' internal structures.

Yes indeed, e2e testing. How would such a test query a button (if it is many shadow tree layers deep inside the component structure) in order to trigger a click if the trees are closed?

@hayatoito Basically for testing, or possibly for other sorts of things like people wanting to use jQuery to trigger a click on some button. If the user can click the button on the screen, then it should also be doable with code (via the proxy). It is currently not possible if the shadow tree containing the button is closed.

---
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/516#issuecomment-224972292

Received on Thursday, 9 June 2016 17:46:02 UTC