On 25  2013, at 12:17 , Arup Rakshit <lists / ruby-forum.com> wrote:

> Please find the part of an `html` :
> 
> 
>       <ul id="globalnav" role="navigation">
>        <li id="gn-apple"><a href="/"><span>Apple</span></a></li>
>        <li id="gn-store"><a
> href="http://store.apple.com/"><span>Store</span></a></li>
>        <li id="gn-mac"><a href="/mac/"><span>Mac</span></a></li>
>        <li id="gn-ipod"><a href="/ipod/"><span>iPod</span></a></li>
>        <li id="gn-iphone"><a
> href="/iphone/"><span>iPhone</span></a></li>
>        <li id="gn-ipad"><a href="/ipad/"><span>iPad</span></a></li>
>        <li id="gn-itunes"><a
> href="/itunes/"><span>iTunes</span></a></li>
>        <li id="gn-support" class="gn-last"><a
> href="/support/"><span>Support</span></a></li>
>      </ul>
> 
> Can we get the values `ipad,iPod` using `Selenium-webdriver-xpath`
> concept?
> 
> Thanks,
> 
> -- 
> Posted via http://www.ruby-forum.com/.
> 

There are a lot of ruby tools that can do that. Nokogiri can do it easily. Watch this: http://railscasts.com/episodes/190-screen-scraping-with-nokogiri

Panagiotis (atmosx) Atmatzidis

email:	atma / convalesco.org
URL:	http://www.convalesco.org
GnuPG ID: 0xE736C6A0
gpg --keyserver x-hkp://pgp.mit.edu --recv-keys 0xE736C6A0
--
The wise man said: "Never argue with an idiot. They bring you down to their level and beat you with experience."