Hi Ricardo, The rdoc you are looking at was created from the later version of the code (not 1.6.2) rdoc input_elements.rb is from Jan 10, 2009 http://wtr.rubyforge.org/rdoc/files/lib/watir/input_elements_rb.html Here is the clear method on github http://github.com/bret/watir/blob/7e6dcfacc2b53cb1e85d1289d1314a2994c41c77/watir/lib/watir/input_elements.rb#L27
The best documentation is your local rdoc file generated from the installed gem Looking at the gihub code also helps if you want to read some code. marekj Watirloo: Semantic Page Objects in UseCases http://github.com/marekj/watirloo/ On Tue, Jun 30, 2009 at 8:20 AM, ricardo fernandes<[email protected]> wrote: > > Hello, > > I think that the documentation about the select_list in > http://wtr.rubyforge.org/rdoc/classes/Watir/SelectList.html#M000429 is > wrong. > > The method clear() does not exists,its method clearSelection(). > The method selected_options() does not exists, its method > getSelectedItems(). > The method options() does not exists, its method getAllContents(). > > I am using watir version 1.6.2. > > Sorry for any bad english. > > Regards > Ricardo Fernandes > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
