LWC ShadowPath Generator

Generates JS selector path for LWC Synthetic ShadowDOMs.

什么是LWC ShadowPath Generator?

LWC ShadowPath Generator是由Salesforce开发的Chrome扩展程序,该扩展的主要功能是“Generates JS selector path for LWC Synthetic ShadowDOMs.”。

扩展截图

screenshot

下载LWC ShadowPath Generator扩展crx文件

下载LWC ShadowPath Generator扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        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.                    

扩展基本信息

名称 LWC ShadowPath Generator LWC ShadowPath Generator
ID pjpdcemjgnjlnljbihckfabphjpjhmbl
官方URL https://chromewebstore.google.com/detail/lwc-shadowpath-generator/pjpdcemjgnjlnljbihckfabphjpjhmbl
简介 Generates JS selector path for LWC Synthetic ShadowDOMs.
文件大小 29.1 KB
安装次数 1,000
当前版本 1.3
更新时间 2020-01-23
上架时间 2020-01-22
评分 2.50/5 共6次评分
开发者 Salesforce
电子邮箱 [email protected]
付费类型 free
隐私政策页面URL http://www.salesforce.com/company/privacy
支持的语言 en-US
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "LWC ShadowPath Generator",
    "version": "1.3",
    "description": "Generates JS selector path for LWC Synthetic ShadowDOMs.",
    "devtools_page": "devtools.html",
    "icons": {
        "128": "images\/icon-128.png"
    },
    "browser_action": {
        "default_icon": "images\/icon-16.png"
    },
    "manifest_version": 2
}