Hi Kasun

This might help you.

http://stackoverflow.com/questions/17329436/selenium-xpath-selector-based-on-the-element-text

Regards
Roshan

On Tue, Sep 9, 2014 at 8:58 PM, Kasun Dissanayake <[email protected]> wrote:

> Hi all
>
> I was working with $subject and got stuck in selecting the Sign out tag in
> following page source (Bolded one)
>
> <div class="container">
>     <a class="brand" href="/store/"></a>      <!--
>       <ul class="nav menu store-menu">                                        
>                 </ul>-->
>        <ul class="nav menu pull-right">                                       
>                                                 <li class="nav-separator">    
>                          <a 
> href="/store/extensions/assets/webapp/subscriptions"><i                       
> class="icon-tags store-topnav-bookmark"></i> My Subscriptions</a>             
>   </li>           <li>                            <a class="dropdown-toggle" 
> data-toggle="dropdown" href="#"><i                           
> class="icon-user"></i> admin <b class="caret"></b></a>                        
>   <ul class="dropdown-menu dropdown-account" role="menu" 
> aria-labelledby="dLabel">                                <li>                 
>                    *<a href="/store/logout"><i class="icon-signout"></i> Sign 
> out </a>*                            </li>           </ul>           </li>    
>                                                        </ul>
> </div>
>
>
> any idea ?
>
>
> --
> Kasun Dissanayake
> Software Engineer
> WSO2 Inc.
> Lean | Enterprise | Middleware
> Tel - +94 77 086 2860
> Skype - kasun.dissanayake4
> LinkedIn - lk.linkedin.com/in/kasundis/
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94752126789*
Email: [email protected]
*WSO2, Inc. :** wso2.com <http://wso2.com/>*
lean.enterprise.middleware.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to