1.使用js定位页面元素和修改元素
![](https://img.haomeiwen.com/i17993869/ddc854bc8804c0b4.png)
![](https://img.haomeiwen.com/i17993869/11dfd18b91599449.png)
![](https://img.haomeiwen.com/i17993869/fc2aee065383f16b.png)
![](https://img.haomeiwen.com/i17993869/d0f8431ee4f3729b.png)
删除只读属性后就可以操作元素,可以自定义清楚和添加值,此类方法用于定位复杂元素
https://www.w3school.com.cn/jsref/met_element_removeattribute.asp
删除只读属性后就可以操作元素,可以自定义清楚和添加值,此类方法用于定位复杂元素
https://www.w3school.com.cn/jsref/met_element_removeattribute.asp
本文标题:自动化js定位技术
本文链接:https://www.haomeiwen.com/subject/ehqqdctx.html
网友评论