how to handle auto suggestive drop down in selenium code example
Example: handling auto suggestion in selenium
1. Enter some letters in the text box
2. Once the UI generates auto suggest options,
I inspect the page and locate the
webelements for those suggestions
3. I write locator that identifies
all of the options
4. Get options using findElements method
by passing that locator
5. Verify that all options start with
the text I entered at the beginning