What dan said
On Fri, May 23, 2014 at 9:21 AM, Dan <[email protected]> wrote: > You can do something like : > > browser.div(:id => "folder-tree").spans(:class => "fancytree-title") > > On Friday, May 23, 2014 8:29:23 AM UTC-4, QOExcel wrote: >> >> Hi ALL!! >> I have a page with elements, i can find some of them: >> >>> span(:get_folder_names, :xpath => ".//div[@id='folder-tree']/ul/ >>> li/ul/li[1]/span/span[3]") >>> span(:get_folder_second,:xpath => >>> ".//*[@id='folder-tree']/ul/li/ul/li[2]/span/span[3]" >>> ) >>> span(:get_folder_third,:xpath => >>> ".//*[@id='folder-tree']/ul/li/ul/li[3]/span/span[3]" >>> ) >>> >> >> <https://lh5.googleusercontent.com/-cfy1duQPVHY/U38--g0v0LI/AAAAAAAAACw/Z1Kzr8EayME/s1600/get_folders.jpg> >> >> My question is, how should i deal with such elements to get them in >> array. Is it possible for span? >> >> >> >> > -- > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > [email protected] > http://groups.google.com/group/watir-general > [email protected] > > --- > You received this message because you are subscribed to the Google Groups > "Watir General" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
