Answers for "selenium click on item in a list"

0

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
Posted by: Guest on May-27-2020

Code answers related to "selenium click on item in a list"

Python Answers by Framework

Browse Popular Code Answers by Language