标签: python selenium xpath
element = driver.find_elements_by_xpath('//td[following-sibling::td/div/a[@title="bet365"] and preceding-sibling::td/span[@class=" odds-wrap " and @eu="1.90"]]') for ele in element: print(ele.text)
我需要获得<td> 161.5 </td>
<td> 161.5 </td>
但这不起作用..
我哪里错了?