Hi, I am trying to retrieve the values from a dropdown and can't. I have tried the following:
undefined method on getAllContents arr= $browser.select_list(:name,'communities').getAllContents.to_a puts n= arr.length I get a response of 32 but I cannot use split method to get each name. names = $browser.select_list(:name,'communities').options puts names.length I was able to do it before but have forgotten how to and cannot find a solution to it in the group. Thank you, Joe -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
