Hi Željko,

I get the following:

>> @browser.select_list(:index,1).options
=> #<Watir::OptionCollection:0x1018ffa00
@parent=#<Watir::Select:0x154f950de located=true
selector={:tag_name=>"select", :index=>1}>,
@selector={:tag_name=>"option"}>

and if I change it up a little:

>> @browser.select_list(:index,1).options.each{|t| puts t.text}
Included Patients (5659)
   Adherent (5118)
   Non-Adherent (541)
Excluded Patients (48)



On Tue, Oct 30, 2012 at 12:19 PM, Željko Filipin
<[email protected]> wrote:
> What do you get from this?
>
> p @browser.select_list(:index,1).options
>
> Željko
> --
> filipin.eu
>
> --
> 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]

-- 
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]

Reply via email to