我怎样才能点击这里的链接使用id.class.hrefpython selenium,我使用pyCharm

2024-10-01 22:41:53 发布

您现在位置:Python中文网/ 问答频道 /正文

我怎样才能点击这里的链接使用id.class.hrefpython selenium,我使用pyCharm*href是可变的

我尽力了 driver.find_element_by_xpath("//div[@id='result_26']//a[@class='a-link-normal s-access-detail-page s-color-twister-title-link a-text-normal']/@href").click() enter image description here


Tags: dividby链接driverseleniumlinkelement

热门问题