I would suggest two approaches: one is waiting for the Item x option, the other is expecting the number of options to be more than one.
So, try the following (unverified Java code, so you might need to debug a little):
Wait until you want (by its value or text):
By byValue = By.cssSelector("#alertSubCatSelectBox > option[value='18222216517']");
Or wait while the number of options is more than one
WebDriverWait wait = new WebDriverWait(driver, 10); wait.until(new ExpectedCondition<Boolean>() { public Boolean hasMoreThanOneOptions(WebDriver driver) { return driver.findElements(By.cssSelector("#alertSubCatSelectBox option")).size() > 1; } });
Yi zeng
source share