Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python all option

WebElement element = driver.findElement(By.id(""));
Select select = new Select(element);
List<WebElement> list = select.getOptions();
for(int i=0; i<list.size(); i++)        
    {
        System.out.println(list.get(i).getText());
    }
Source by www.edureka.co #
 
PREVIOUS NEXT
Tagged: #python #option
ADD COMMENT
Topic
Name
9+5 =