dropdown in selenium
1-Select dropdowns:are created by using <select> tag in HTML
2-HTML dropdowns:these are the dropdowns that are created NOT USING <select>
These dropdowns are handled just like any other webElement.
Select select = new Select(driver.findElement(LOCATOR));
1-selectByVisibleText(String arg);
2-byIndex(int arg);
3-byValue:
.getFirstSelectedOption() .getOptions();
.getAllSelectedOptions();.deSelectAll();