On Tue, Feb 7, 2012 at 8:10 AM, Trevor <[email protected]> wrote:
> assert_equal( ["none","fixed"] , $browser.select_list(:name,
> "model").options)
Now you have to do something like this:
browser.select_list(:name => "model").options.collect {|option| option.text}
More information:
http://watir.com/2012/02/01/watir-webdriver-0-5-2/
Željko
--
watir.com/book - author
--
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]