Activities and selector set up to use to select correct changing drug in drug list search popup (not a dropdown).
Explore the selector of different rows in there using ui explorer.
That will help you identify the pattern between those selectors and then make your selector dynamic by passing in the drug name you want to select.
Or you can also try using for each ui element to loop though those elements to select the required one.
Hope this helps.
