LWC ShadowPath Generator

Generates JS selector path for LWC Synthetic ShadowDOMs.

LWC ShadowPath Generator - Chrome Extension for JS Selector Paths

'LWC ShadowPath Generator' is a specialized Chrome extension designed to alleviate the complexities typically associated with generating selector paths within Lightning Web Component's Synthetic Shadow DOM. It mimics Chrome's in-built 'Copy JS Path' functionality, making it easier to replace obsolete Selenium selectors in your testing, thus resulting in more accurate and efficient Java test coding.
Install from Chrome Web Store

Extension stats

Users: 936
-28
Rating: 2.50
(6)
Version: 1.3 (Last updated: 2020-01-23)
Creation date: 2020-01-22
Risk impact: Low risk impact
Risk likelihood:
Manifest version: 2
Size: 29.80K

Other platforms

Not available on Android
Not available on Firefox
Not available on Edge
Want to check extension ranking and stats more quickly for other Chrome extensions? Install Chrome-Stats extension to view Chrome-Stats data as you browse the Chrome Web Store.

Extension summary

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.

User reviews

This doesn't seem to be working in the currenct Chrome brower version - 92. Will this be resolved. Seem to be working fine in older Chrome versions ? Aprreciate any help on this
by Sharmila Srikanth, 2021-08-26

It was working fine but suddenly it stops to work. Nothing is displayed in the tab. Already re-install it.
by Martin da Silva, 2021-07-27

Not working anymore: it shows a white panel where the queries should be. Fix it pls, it is a huge help for working with salesforce elements
by Matteo Bellarasa, 2021-07-24
View all user reviews

Extension safety

Risk impact

LWC ShadowPath Generator requires very minimum permissions.

Risk likelihood

LWC ShadowPath Generator has earned a fairly good reputation and likely can be trusted.

Upgrade to see risk analysis details

Promo images

LWC ShadowPath Generator small promo image
Small promo image

Similar extensions

Here are some Chrome extensions that are similar to LWC ShadowPath Generator: