selenium2 python 学习笔记--xpath模糊匹配

时间:2016-08-09 00:17:48   收藏:0   阅读:1898

xpath模糊匹配,类似find_by_partial_link,如下图:

contains(属性名,字符串),starts-with(属性名,字符串),ends-with(属性名,字符串),matchs(属性名,字符串)

技术分享

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!