HTML如下:
<div class="item link-color-1
automated link-track logout-link"
data-track-category="Logout"
data-track-action="Logout from /myaccount/mymoney/cashier"
data-data-automated-function="clickTracker"> logout </div>
要查找链接的 x 路径,请尝试以下操作://*[contains(@data-track-category='Logout']。但它不起作用。请帮助。