[英]How to find the element for the filter button using Selenium WebDriver for IE and Python:
[英]How to find this button in selenium webdriver python?
如何找到這個按鈕這是代碼,xpath 不起作用:
<button type="submit" data-module="tooltip" data-tooltip-config="addtocart" data-tooltip-content="#tooltip_addtocart" class="btn btn-orange-normal-plp addToCartClick product-tile__add-to-cart-CTA js--add-to-cart tooltipstered">
<span class="product-tile__add-to-cart-icon icon-cart-white"></span>
</button>
發件人
您想要的按鈕的相對 Xpath 是://button[@type='submit']
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.