【发布时间】:2021-06-09 23:30:51
【问题描述】:
我正在尝试匹配此a 链接:
<a href="/collection/accessories_wall?productType=Cases+%26+Sleeves&productType=Screen+Protectors&compatibilityCategory=Phone" class="product-link" data-product-id="cases_protection" xpath="1">
Cases & protection
</a>
试过了:
//a[contains(text(),'Cases & protection')]
【问题讨论】: