Could anyone tell me how i can find all links on a page and record that links in a text file in my computer.
all links include the following phrase.. yp.kd.com now I would like to retrieve URL of all links containing above (yp.kd.com) in the url, and record that in a text file.. also, I would like to retrieve the text of url also.. can anyone please tell me how I can do this?? so.. if the link text is example1 and underlying url is yp.kd.com/ example1, i wish the text file to record example1; yp.kd.com/example1 and there are many tens of links with above kinds in a page.. thank you so much. -- 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]
