automan-attr README当你想给html元素加上页面级别的唯一的自定义属性,便于自动化测试中,快捷方便的查找元素,就可以使用这个插件。它是利用 【文件名】+ 【classname】+ 【number】或者【文件名】+ 【tag】 + 【number】 When you want to display the custom attribute added to the html element, it can be easily used in automatic testing to find the element easily. [File name]+[Class name]+[Number] or [File name]+[Label]+[Number] Featuresctrl + k / cmd + k 可以选择一个目录实现批量添加自定义属性 ctrl + j / cmd + j 可以快捷给当前文件添加自定义属性 打开setting.json文件可以搜索automan,选择attrName配置项,配置属于你的自定义属性名,默认为data-automan ctrl + k / cmd + k can select a directory to add custom attributes in batches ctrl + j / cmd + j can quickly add custom properties to the current file Open the setting.json file to search for automan, select the attrName configuration item, and configure the custom attribute name that belongs to you. The default is data-automan |