擅长:python、mysql、java
<p>您忘记了xpath中的<code>@style</code></p>
<pre><code>save_class=driver.find_element_by_xpath("//a[@class='x-btn x-unselectable rp-important-btn rp-btn-shadow x-box-item x-toolbar-item x-btn-default-small x-noicon x-btn-noicon x-btn-default-small-noicon' and @style='height: 24px; right: auto; top: 5px; margin: 0px; left: 118px;']")
</code></pre>
<p>试试这个</p>