codeceptjs / codeceptjs/CodeceptJS
Mix Shadow Locator with XPath
未关闭
- 主要语言
- JavaScript
- 星标
- 4.2k
- 派生
- 757
- 平均合并
- 2 天 9 小时
- 30 天内合并 PR
- 16
描述
I need to locate a dom node (that happens to be a web component) with an xpath and then go into its shadow dom. Is there a way I could `switchTo` an element from an xpath, and then use the shadow locator?
贡献指南
调研方向
首先检查 issue 中提到的现有 XPath、switchTo 和 shadow locator 入口点。确定通过 XPath 找到的 DOM 节点是否可以用作 shadow-DOM 上下文,并将完成定义为受支持的工作流,或是有文档记录且对结果有覆盖的限制。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- testing
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100