<div class="inner-article">
<a style="height:150px;" href="/shop/hats/jjklos2it/cacyn7gr5"><img width="150" height="150" src="//assets.supremenewyork.com/158414/vi/iDhLpmX68d4.jpg" alt="Idhlpmx68d4">
<div class="sold_out_tag">sold out</div>
</a>
<h1>
<a class="name-link" href="/shop/hats/jjklos2it/cacyn7gr5">Liquid Silk Camp Cap</a></h1>
<p>
<a class="name-link" href="/shop/hats/jjklos2it/cacyn7gr5">Orange</a></p></div>
//*[@class = 'inner-article']//a[contains(text(), 'Liquid')] and //*[class[@class = 'inner-article']//a[contains(text(), 'Orange')]
我知道这是错误的,但是当我将and语句放在第一个括号中时,它也不起作用。我希望这是有道理的。