# for html/css - create select class, create variable
# then find element for variable - use xpath, id, className etc
Select variable = new Select(driver.findElement(By.xpath("path to element")));
# then, assign element to variable using select
# option 1:
variable.selectByValue("");
# option 2:
variable.selectByVisibleText("");
# option 3:
variable.selectByIndex("");
// Create object of the Select class
Select se = new Select(driver.findElement(By.xpath("//*[@id='oldSelectMenu']")));
// Select the option with value "6"
se.selectByValue("6");