我想点击的确切按钮是:
https://www.bungol.ca/map/location/toronto/?
关闭左侧的属性滑块
单击工具->打开列表
点击任何一个列表,你就会得到这样的结果:
Image for close button
我试着这么做:
time.sleep(5) #wait for page to fully load
driver.find_element_by_xpath("""/html/body/div[17]/div/div/div/button""").click()
以及
^{2}$
Tags:
这个CSS选择器就可以做到这一点。在
相关问题 更多 >
编程相关推荐