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
官方網址 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
}