📅  最后修改于: 2022-03-11 14:47:13.926000             🧑  作者: Mango
def click_me(string):
driver.find_element_by_xpath("//h3/a[@class='co-product__anchor' and contains(@title, '%s')]//following::button[1]" % (string)).click()