📜  python autoclick 网站 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:33.933000             🧑  作者: Mango

代码示例1
def click_me(string):
    driver.find_element_by_xpath("//h3/a[@class='co-product__anchor' and contains(@title, '%s')]//following::button[1]" % (string)).click()