I\'m trying to select an option from a drop-down that doesnt populate until the locator has been clicked. This is what I see in Firebug:
div class=\"selectize-i
This isn't a normal drop-down select menu. Hence, using Select won't work in this case. Without seeing the complete site, I'm not sure what exactly must be done to select it.
But try simply clicking on the div element when the options in the dropdown are visible.
//I'm assuming that this will display the dropdown list
driver.findElement(byAgentCodes).click();
driver.findElement(By.xpath("//div[@data-value='523-23-20275']"));