As there is no
select html tag
in your html code,
"Select" class will not work here.
So u can do this in two ways(As u don't give ur details html code)
First process:
Step one: click on that combo box.
Step two: After click on combo box, combo box options will be shown with their link text or id or other locators.
for this, use this code:
driver.findElement(By.id("search_key.combobox")).click();//click on that combo
than
driver.findElement(By.linkText("ur combo option link text"));//click on ur desired combo option
or
driver.findElement(By.cssSelector("ur combo option's css path"));//u can use any other locator what is shown in ur html code after clicking on combo box
But after click on combo box, if combo options is not shown with any locator in inspect section, than use this code:
driver.findElement(By.id("search_key.combobox")).click();//click on that combo
for(int i = 0; i <= position; i++){
Actions actions = new Actions(driver);
actions.sendKeys(Keys.DOWN).build().perform();//press down arrow key
Actions actions = new Actions(driver);
actions.sendKeys(Keys.ENTER).build().perform();//press enter
}
//here "position" is , ur desired combo box option position,
//for ex. u want to choose 3rd option,so ur "position" will be 3.