【发布时间】:2020-10-16 05:46:43
【问题描述】:
我可以找到我想要的元素的 XPATH,但是它不允许我点击 ..................................................... ....................................
<a href="/traderoom" target="_self" class="Button Button_orange Button_big Button_bold css-u4v0q0 e1y8wypm7"><span>ทำการซื้อขายได้ </span></a>
.................................................. ....................
enter driver.find_element_by_xpath('a[1][@href='/traderoom']').click() here
【问题讨论】:
-
请提供您要抓取的网站的链接。另外,您是否尝试过其他方法,例如
find_element_by_css_selector?