Hey there, Yep, that did it! I didn't see the method 'lis' listed when I did this:
@browser.div(:id, "ctl00_cphMain_validationSummary").ul(:class, "VAMValSummaryErrors").methods.sort Oh well, glad it was available for me to use. Thanks a lot! On Oct 8, 2:59 pm, orde <[email protected]> wrote: > something like this(?): > > browser.lis.each do |x| > puts x.text > end > > Hope that helps. > > On Oct 8, 2:09 pm, George <[email protected]> wrote: > > > > > Hello everyone, > > > Is it possible to iterate each line item (<li>) text in an unordered > > list (<ul>)? > > > Thanks, > > > George --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
