uirecorder icon indicating copy to clipboard operation
uirecorder copied to clipboard

属性黑名单中添加正则后,获取的元素路径没有屏蔽对应正则的内容

Open 736090191 opened this issue 6 years ago • 1 comments

属性黑名单中添加正则后,获取的元素路径没有屏蔽对应正则的内容 比如我要屏蔽:nth-child(26),26是随机的,我在属性黑名单中填写/:nth-child(\d+)/,但是页面获取元素依然包含:nth-child(26)。具体如下图: image

736090191 avatar Jul 18 '19 12:07 736090191

This is the translated issue:


After adding a regularity to the attribute blacklist, the obtained element path does not block the content corresponding to the regular.

After adding a regularity to the attribute blacklist, the obtained element path does not block the content corresponding to the regular. For example, I want to block: nth-child(26), 26 is random, I fill in the attribute blacklist /:nth-child(\d+)/, but the page get element still contains: nth-child(26) . Specifically as shown below: !image

macaca-bot avatar Jul 18 '19 12:07 macaca-bot