[wtr-general] Re: How to get all links inside an object

2009-08-17 Thread Marlon
yup already tried it and it works great. thanks for your help --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting,

[wtr-general] Re: How to get all links inside an object

2009-08-17 Thread Wesley Chen
Why don't you try what you thought? Thanks. Wesley Chen. On Tue, Aug 18, 2009 at 11:17 AM, Marlon wrote: > > Hi George, > > Thanks! What if its a div? > > Marlon > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

[wtr-general] Re: How to get all links inside an object

2009-08-17 Thread Marlon
Hi George, Thanks! What if its a div? Marlon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the

[wtr-general] Re: How to get all links inside an object

2009-08-15 Thread George
Hello, If you're talking about a table, you could do this: table = @browser.table(:id, /results/) table.links.each do |link| puts link.text puts link.attribute_value('href') end On Aug 14, 7:06 pm, Marlon wrote: > Hi, > > I just want to ask how can I get all the links inside an object (e