how to collect all the href links in a single page to a log file

S

Sita Rami Reddy

[Note: parts of this message were removed to make it a legal post.]

I have a web which consists of multiple links with different colors. I want
to collect a set of links with same color and move them to a notepad
file(log file)..

Please give Ruby code which works in Watir.

Thanks,
 
S

Sita Rami Reddy

My actual problem is as follows:

=B7 Navigate to Google in a new IE instance
=B7 Search for the following word "Gap, Inc."
=B7 Iterate thought the first 10 pages of google
=B7 On each page collect the following
=B7 The "blue" page title
=B7 The "green" url
=B7 Output all the data into a file named "test_output.txt"
=B7 Format "Title =96 URL

Can you help me in this....

Thanks,
Sita


On Tue, Nov 11, 2008 at 8:16 PM, Srinivasa Rao <[email protected]=
m
for colors do you applied any css?
if so, u can take through class name.


--=20
Sita Rami Reddy P
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,734
Messages
2,569,441
Members
44,832
Latest member
GlennSmall

Latest Threads

Top