37,743
社区成员




element = driver.find_element_by_xpath(".//label[text()='散客']")
ticket_id = element.get_attribute("for")
print(ticket_id)
check = driver.find_element_by_xpath("./*//input[@id='{}']".format(ticket_id))
print(check.get_attribute("ID"))
check.click()
-------------------------------------------------
ctl00_ContentPlaceHolder1_chklstDiscounttypee_0
ctl00_ContentPlaceHolder1_chklstDiscounttypee_0
driver.find_element_by_xpath("./*//input[@id='ctl00_ContentPlaceHolder1_chklstDiscounttypee_0]").click()