Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to serach for multiple attributes in xpath selenium python

//*[@attribute_name1='attribute_value1'][@attribute_name2='attribute_value2]  
"""
for example:
	# This One Is A Youtube Video Clicking Xpath But It's Just An Example
	//button[@class="ytp-fullscreen-button ytp-button"][@title="Full screen (f)"]
"""
 
PREVIOUS NEXT
Tagged: #serach #multiple #attributes #xpath #selenium #python
ADD COMMENT
Topic
Name
1+6 =