擅长:python、mysql、java
<p>您可以使用M Pass Movies调用a标记上的click,并绕过前面的元素</p>
<pre><code>nav = driver.find_element_by_css_selector('ul.nav.nav-tabs')
tab = nav.find_element_by_xpath("//*[text()='M Pass Movies']")
driver.execute_script("arguments[0].click();", tab)
</code></pre>