On Tue, May 19, 2009 at 12:01 PM, Natasha Ranney <itsn...@yahoo.co.uk> wrote: > I tried using text property of browser to save the text shown on page as xml file. It did save it. But it saved the '-' as well.
I remember doing the same thing a long time ago, and being annoyed by `-` also. I am not sure how I solved the problem. Maybe if you open the page in Firefox, there is no `-`. > xmlurl = $ie.link(:text,"test").url Try: xmlurl = $ie.link(:text,"test").href but I am surprised that `url` does not work. Željko -- http://watirpodcast.com/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---