Ruby/Watir

hehejo

Developer
Sep 22, 2009
803
12
18
Switzerland
www.peakinformatik.com
Just got into ruby and it's great.

But I'm having some problems with safariwatir, I keep getting this error:

/Library/Ruby/Gems/1.8/gems/safariwatir-0.4.0/lib/safariwatir/locators.rb:87:in `method_missing': undefined method `set' for #<Watir::Container::SelectList:0x10

Line 87:
@browser.select_list(:id, "optionselect_domainselect").set("test.com")

Code seems to be ok. Straight out of TestWise Recorder. Everything in google seems to confirm that code is ok...

Is it just safariwatir, should I use firefox?
 


I've never used safariwatir, only firefox and IE based watir. Try testing in firefox and seeing if it works, if it does than it's something funky with safari