selenium2 python 学习笔记xpath模糊匹配

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

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

原文地址:https://www.cnblogs.com/mingshengling/p/5751429.html