我想要实现自动化的本机代码。这是href标记
<a href="http://www.itpathsolutions.cu.ma/juniorApp/admin/user">
<i class="fa fa-user"></i> <span>User Management</span>
<small class="label pull-right bg-red">10</small>
</a> here
XPATH
//a[contains(@href, 'itpathsolutions')]
或者
//span[text()='User Management']/../a
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句