3 ms·
While we are on the topic of XPath improvements, I would love to see a built-in XPath syntax to pierce the shadow DOM of Web components. It's an important need
by scottfr 6y ago
While we are on the topic of XPath improvements, I would love to see a built-in XPath syntax to pierce the shadow DOM of Web components.
It's an important need for the automation and testing use cases. Without it, targeting an element within a web component simply cannot be done solely with a single selector.
- spankalee 6y agoSeveral vendors have objected to that when it's been brought up because it breaks encapsulation. You can write such a utility in JavaScript in just a few lines though.