Overview
Generates JS selector path for LWC Synthetic ShadowDOMs.
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.
Details
- Version1.3
- UpdatedJanuary 22, 2020
- Offered bySalesforce
- Size29.1KiB
- LanguagesEnglish (United States)
- DeveloperSalesforce
415 Mission St 3rd Floor San Francisco, CA 94105-2504 USEmail
chromeextensions@salesforce.comPhone
+1 872-315-6479 - TraderThis developer has identified itself as a trader per the definition from the European Union.
- D-U-N-S072148831