instead of options, try getAllContents


On Apr 27, 3:17 pm, Karl <[email protected]> wrote:
> Runnin SafariWatir, OS X 10.5.6, Safari 4.0 (beta), and the latest
> safariwatir (et al) gems.
>
> This method:
>   Watir::Browser.default = 'safari'
>   b = Watir::Browser.new
>   b.goto "http://my_site.com";
>   b.select_list(:id, "state").options
>
> returns:
>   NoMethodError: undefined method `options' for
> #<Watir::Container::SelectList:0x11e4dd4>
>
> Yes, there is a select list with an id="state".
>
> Am I missing something?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to