Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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
 
PREVIOUS NEXT
Tagged: #selenium #click #item #list
ADD COMMENT
Topic
Name
7+1 =