LWC ShadowPath Generator

LWC ShadowPath Generator

Generates JS selector path for LWC Synthetic ShadowDOMs.

What is LWC ShadowPath Generator?
'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.
Merlin
Stats
Users: 1,000+
Rating: 2.50 (6)
Version: 1.3 (Last updated: 2020-01-23)
Creation date: 2020-01-22
Risk impact: Low risk impact
Risk likelihood: Very low risk likelihood
Manifest version: 2
Size: 29.80K
Stats date:

Other platforms

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.
Chrome-Stats extension
Merlin
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
Seems the js path works great when I paste it manually into the console, but does NOT work when executed from the Content Script of a Chrome Extension. Uncaught TypeError occurs.
by Aslan Cox Aslan Cox, 2020-02-20

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 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 Martin da Silva, 2021-07-27
View all user reviews
Safety
Risk impact

LWC ShadowPath Generator is relatively safe to use as it requires very minimum permissions.

Risk likelihood

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

Upgrade to see risk analysis details
Screenshots
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: