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

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

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

相关文章: