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
Here, Select class wouldn't work if there is no select tag in the UI, you need to click on the main div, and then you need to click on any of the div having multiple options, it will first click on the drop down and then click on the specific element from the list, below code will hopefully work for you....
1)firstly you need to click on this div by finding it through any of the available methods like by id, xpath, css selector, driver.findElement(byAgentCodes).click(); clicking on this will open a dropdown list
2) repeat the same above point 1 for clicking the any of list items in dropdown
523-23-20275That will work.