Search
 
SCRIPT & CODE EXAMPLE
 

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
Comment

PREVIOUS NEXT
Code Example
Python :: get body from request python 
Python :: python is program running 
Python :: python dictonary set default 
Python :: pyqt remove widget 
Python :: dataframe to pandas 
Python :: views.py django 
Python :: determinant of matrix in python 
Python :: flask authentication user without database 
Python :: python 3.7.9 download 
Python :: merge multiple excel files with multiple worksheets into a single dataframe 
Python :: how to make a clock in python 3 
Python :: blender python add collection to scean collection 
Python :: tqdm in place 
Python :: read list from txt python 
Python :: python dict remove duplicates where items are not the same 
Python :: pytest teardown method 
Python :: how to make a nice login django form 
Python :: change forms labels django 
Python :: fetch row where column is missing pandas 
Python :: split a string into an array of words in python 
Python :: check number of elements in list python 
Python :: logical operators pandas 
Python :: estimate time to run a chunk of code in python 
Python :: find next multiple of 5 python 
Python :: pandas read excel certain columns 
Python :: docker build python fastapi 
Python :: Get the square root of a number in Python 
Python :: BURGERS2 solution 
Python :: ipaddress in python 
Python :: how to combine strings python 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =