Этот код находится в JAVA
Вы можете выбрать нужную опцию из выпадающего меню, используя Выбрать класс Селен
public static void main(String[] args) {
System.setProperty("webdriver.chrome.driver", "F:\\Automation\\chromedriver.exe");
driver = new ChromeDriver();
driver.get("http://www.mister-auto.com/");
Select option = new Select(driver.findElement(By.id("f_select_marque")));
option.selectByVisibleText("Mercedes-Benz");
// OR
// option.selectByValue("74");
new WebDriverWait(driver, 10).until(ExpectedConditions.visibilityOfElementLocated(By.xpath("//option[text()='Model']")));
Select option1 = new Select(driver.findElement(By.id("f_select_modele")));
option1.selectByValue("530");
}