Hi John, Use the below code to capture the text of the page
variable=ie.text now the variable will contain all the text appears on the page where you can able to take the email's regards, Naveen On Sep 14, 2:32 am, dave johnson <1doglover1...@gmail.com> wrote: > I want to get all my friend's email addresses off of Facebook but I > can't figure out how to get the text off the page. > > require 'watir' > > ie = Watir::IE.new > > ie.goto(someones_profile) > > if ie.link(:text=> "Info").exists? > ie.link(:text=> "Info").click > #get email > end --~--~---------~--~----~------------~-------~--~----~ 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 following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---