会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
景木
It takes nothing to join the crowd,but takes everything to stand alone.
博客园
首页
新随笔
联系
订阅
管理
2018年12月4日
xpath定位中starts-with、contains、text()的用法
摘要: starts-with 顾名思义,匹配一个属性开始位置的关键字 contains 匹配一个属性值中包含的字符串 text() 匹配的是显示文本信息,此处也可以用来做定位用 eg //input[starts-with(@name,'name1')] 查找name属性中开始位置包含'name1'关键字
阅读全文
posted @ 2018-12-04 15:00 景木
阅读(1520)
评论(0)
推荐(0)
编辑
公告