Sunday, October 10, 2021

Select Option - Selenium Webdriver

Select is a class in SeleniumWebdriver which is used to Select and Deselect in a Dropdown List element.

 

WebElement country= driver.findElement(By.id("drpCountry"));

Select dropdown = **new** Select(country); 




No comments:

Post a Comment