擅长:python、mysql、java
<p>尝试:</p>
<pre><code>li = browser.find_element_by_css_selector('input#button-one[onclick="predict.input.value += 1"]')
</code></pre>
<p>或者没有元素名“input”:</p>
^{pr2}$
<p>或者,如果只有“id”是“button one”的元素,只需写下:</p>
<pre><code>li = browser.find_element_by_css_selector('#button-one')
</code></pre>