概述
Generates JS selector path for LWC Synthetic ShadowDOMs.
Chrome Extension to generate Selector paths for elements encapsulated by our LWC components' Synthetic Shadow DOM. Attempting to reproduce the functionality of Copy > Copy JS Path that Chrome provides for native Shadow DOM To Use: 1. Inspect any element to open Element Inspector, and then open up the LWC ShadowRoot panel by clicking '>>' on the far right. 2. Select the element that the obsolete Selenium selector used to select. 3. Copy and paste from the panel's jspath field into the console to confirm that it is selecting the desired element (remove the extra surrounding double quotes after pasting). 4. Copy and paste from the panel's java field into existing java test code to replace the obsolete Selenium selector.
2.5 星(5 星制)6 个评分
Google 不会核实评价。 详细了解结果和评价。
详情
- 版本1.3
- 上次更新日期2020年1月22日
- 提供方Salesforce
- 大小29.1KiB
- 语言English (United States)
- 开发者Salesforce
415 Mission St 3rd floor San Francisco, CA 94105-2533 US电子邮件通知
chromeextensions@salesforce.com - 交易者此开发者已根据欧盟的定义将自己标识为交易者。