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.
chromeextensions@salesforce.com
415 Mission St 3rd floor San Francisco, CA 94105-2533 US 适用浏览器谷歌浏览器、其他Chromium内核的浏览器
为打击盗链困扰,本站已启用人机验证
微信扫码关注左侧公众号,发送“插件”二字获得验证码,验证码5分钟全站有效