Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

select dropdown lilst item in selenium 4 python

// Create object of the Select class
Select se = new Select(driver.findElement(By.xpath("//*[@id='oldSelectMenu']")));
			
// Select the option by index
se.selectByIndex(3);
Source by www.toolsqa.com #
 
PREVIOUS NEXT
Tagged: #select #dropdown #lilst #item #selenium #python
ADD COMMENT
Topic
Name
9+3 =