On Fri, Jan 25, 2013 at 12:17 PM, Arup Rakshit <[email protected]> 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?

It's not clear what you want to use a selection criteria.  Is it

 - the text
 - the tag's name
 - an attribute value
 - an attribute's name
 - a combination

?

Cheers

robert


-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

-- 
[email protected] | 
https://groups.google.com/d/forum/ruby-talk-google?hl=en


Reply via email to