问题标签 [fluentautomation]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
809 浏览

css-selectors - 我可以选择 Shadow DOM 中存在的 Polymer 元素吗?

我有一个需要自动化的 Polymer 应用程序。问题是它有很多 Shadow DOM。

我正在使用 FluentAutomation,它只知道使用 CSS 选择器和一些 jQuery。

有没有办法使用 CSS 选择器来识别 Shadow DOM 中的元素?