Generates JS selector path for LWC Synthetic ShadowDOMs.
LWC ShadowPath Generator Extension
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.
Source Manifest.json
How to download and manually install LWC ShadowPath Generator extension for Chrome
Looking for a way to install LWC ShadowPath Generator extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.
However, you may need to install LWC ShadowPath Generator extensions manually, this article outlines two simple methods to effortlessly install LWC ShadowPath Generator extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.
Method 1: Download LWC ShadowPath Generator extension and manually install through Drag &Drop
If you ever need to manually install a LWC ShadowPath Generator extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.
Step 1: Download the LWC ShadowPath Generator Extension by clicking the "Download CRX" button on the website.
Look for the LWC ShadowPath Generator extension you wish to install. Go to the website and download the LWC ShadowPath Generator extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for LWC ShadowPath Generator extension that contains all the data.
Step 2: Extract &Arrange Files
Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.
Step 3: Go to the Chrome Extensions Page
Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.
Step 4: Drag and Drop the Extension
Now, go to the folder where you extracted the LWC ShadowPath Generator extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.
Step 5: Complete the Installation
Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.
Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.
Method 2: Download LWC ShadowPath Generator extension for Chrome and install in Developer Mode
This is another method to install LWC ShadowPath Generator extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.
Step 1: Download the LWC ShadowPath Generator extension file
Select and download the LWC ShadowPath Generator extension by clicking the 'Download CRX' button on the website.
Step 2: Extract the downloaded contents
Convert the file to a ZIP file if it is in CRX format then extract the LWC ShadowPath Generator extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your LWC ShadowPath Generator extension running.
Step 3: Open Chrome Extension Setting Page
In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.
Step 4: Enable Developer Mode
After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.
Step 5: Load the Unpacked Extension
Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."
Step 6: Select the Extension Folder
Once the pop-up opens upon clicking Load unpacked, select the LWC ShadowPath Generator extension directory and click on the "Select Folder "button.
Step 7: Confirm and Install
After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.
Conclusion
Here we've made a step-by-step guide on How to manually install LWC ShadowPath Generator extension in 2 ways. We hope this guide proves helpful.
Similar Extensions
LWC Generator 967 0 ★ 6.24MiB
Salesforce Lightning Web Component Extractor 967 0 ★ 162KiB
Apex Debugger 967 30 ★ 881KiB
Salesforce Lightning Inspector 967 48 ★ 8.72MiB
Salesforce Page Optimizer 967 17 ★ 2.26MiB
Salesforce DevTools 967 48 ★ 4.6MiB
Salesforce Colored Favicons 967 97 ★ 13.41KiB
Salesforce inspector 967 330 ★ 422KiB
Salesforce Inspector Reloaded 967 153 ★ 1.01MiB
Salesforce advanced Code searcher 967 183 ★ 21.36MiB
Lightning Extension 967 103 ★ 1.54MiB
ORGanizer for Salesforce 967 244 ★ 1.44MiB
Lightning Studio 967 266 ★ 27.88MiB
SelectorsHub - XPath Helper 967 1384 ★ 556KiB
Salesforce Tool Suite 967 103 ★ 4.66MiB
UTAM 967 3 ★ 351KiB
Salesforce Show Api Name 967 26 ★ 13.77KiB
Workbench Tools for Google Chrome™ 967 14 ★ 29.12KiB
ChroPath 967 1167 ★ 540KiB
Salesforce Logins by Synebo 967 88 ★ 1.25MiB
Salesforce Change Set Helper 967 59 ★ 1.51MiB
Salesforce SObject2Apex code generator 967 3 ★ 2.17MiB
Salesforce Enhanced Code Searcher 967 21 ★ 1.65MiB
Salesforce Assistant 967 12 ★ 11.96MiB
User reviews
Sharmila Srikanth (ID: 00000095229666f9) Voted 3 ★ - Updated 08/26/2021
Martin da Silva (ID: 0000009fc77ab8d3) Voted 3 ★ - Updated 07/27/2021
Matteo Bellarasa (ID: 000000e5dbed27fa) Voted 1 ★ - Updated 07/24/2021
Waji Abbas (ID: 0000003b379d593e) Voted 1 ★ - Updated 05/26/2021
Luke Askew (ID: 000000b52b0ae4db) Voted 5 ★ - Updated 09/11/2020