首页 开发者工具 LWC ShadowPath Generator

LWC ShadowPath Generator

用户数 : 470 分类 : 开发者工具 扩展大小 : 28.36KiB 最后更新时间 : 2020-01-22 版本 : 1.3
                            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.
                        
查看更多
下载 如何离线安装? Chrome store

分享

全部评论

    展开更多评论

    错误提示保存失败
    成功提示保存成功
    close
    qr-code

    为打击盗链困扰,本站已启用公众号验证
    微信扫码关注上方公众号,回复“插件”二字获得验证码,验证码5分钟内全站有效。

    正在验证
    验证成功
    下载遇到问题?请添加QQ群:398095333
    close
    qr-code

    为打击盗链困扰,本站已启用公众号验证
    微信扫码关注上方公众号,回复“脚本”二字获得验证码,验证码5分钟内全站有效。

    正在验证
    验证成功