I've just had a quick look, also on FF3/Mac. The issue is not that the select_list element is invisible - you can address it correctly as show by calling: @browser.select_lists or @browser.select_list(:id, 'cAbb')
Calling the "methods" method on the element reveals that the "set" method you are calling is not present. I was surprised to see that this method exists - I've always used the "select" method, which works fine. The RDoc reveals that set should be an alias for select. I would suggest using the select method for the time being: @browser.select_list(:id,"cAbb").select("software jobs") However, if you wish to use the set method, add the following code to your firewatir/htmlelements.rb file in the SelectList class beneath the select method's definition: alias :set :select Best wishes, Alex On 12 Apr 2009, at 00:07, Jarmo Pertman wrote: > > Try to print out html for that select_list to make sure that you are > really dealing with the correct select_list and there aren't any > hidden ones or whatsoever. Or try just plain old .flash method to see > if correct list is flashing :) > > Jarmo > > On Apr 5, 7:07 am, Chris <christopher.mcma...@gmail.com> wrote: >> This snippet show the issue on FF3/Mac. select_list on craigslist >> seems to be invisible. FWIW, Selenium IDE can address the >> select_list >> with no problem >> >> require 'rubygems' >> require 'firewatir' >> >> @browser = Watir::Browser.new >> @browser.goto("http://newyork.craigslist.org/jjj/") >> >> #CAN'T ADDRESS BY INDEX >> @browser.select_list(:index,1).set("software jobs") >> #CAN'T ADDRESS BY ID >> @browser.select_list(:id,"cAbb").set("software jobs") >> #CAN'T SET THE select_list VIA 'value=foo' >> @browser.select_list(:id,"cAbb").set("sof") >> >> FireWatir generates no error for any of these calls. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---