擅长:python、mysql、java
<p>你用谷歌搜索了例外吗?这意味着您的选择器无效。您尝试使用的CSS选择器的格式是<code>tag[attribute='value']</code>。你没有用引号括起来的值。。。在这种特定情况下,这是不可能的,因为您的值已经包含单引号。在</p>
<p>因为A标记包含IMG标记,所以您可以单击IMG标记并获得相同的效果。下面这样的CSS选择器应该可以工作。在</p>
<pre><code>img[src='images/ListingOptionSearch.jpg']
</code></pre>
<p>还有其他选择器,可能会工作,但有一个网页链接,等等。我只是猜测他们是否会是唯一的。在</p>