Thanks. I guess I just have to traverse the contents. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Zeljko Filipin Sent: Wednesday, August 31, 2005 4:32 PM To: [email protected] Subject: RE: [Wtr-general] select box contains?
ie.selectBox(:index,1).getAllContents will return text of all options in select box. I guess it depends how you installed watir (installer, gem), but there is documentation start > All Programs > Watir > API Reference. Zeljko -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, August 31, 2005 9:43 AM To: [email protected] Subject: [Wtr-general] select box contains? What's the best way to know if a selectbox contains a particular text? P.S. I hope in the near future, there's a good documentation for watir libraries. _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
