On Tue, Feb 7, 2012 at 8:10 AM, Trevor <trevorm1...@gmail.com> 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.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to