Hi,

I just got stuck in a scenario where I need to collect all the text values 
from a drop-down list. WHAT IS THE BEST WAY TO DO THAT? Any help will be 
really helpful.

def textFromDropDown = $('LOCATOR OF DROP-DOWN LIST').text() 

Will this work? 
Thanks,
Aditya
 

-- 
You received this message because you are subscribed to the Google Groups "Geb 
User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/geb-user/de385e64-3b77-4a4a-827f-d4b885589451%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to