how to click on a list object in selenium python code example
Example: selenium click on item in a list
items = self.driver.find_elements_by_tag_name("li")
for item in items:
text = item.text
print(text)
if text == 'idk':
item.click()
break
items = self.driver.find_elements_by_tag_name("li")
for item in items:
text = item.text
print(text)
if text == 'idk':
item.click()
break