selenium - how to find the xpath for the below code -


trying find xpath below face book link .

    <a class="home_fb_logo" target="_blank" title="facebook" href="http://www.facebook.com/chaturdn"></a>     <a class="home_tw_logo" target="_blank" title="twitter" href="http://www.twitter.com/chaturdn"></a>     <a class="home_sc_logo" target="_blank" title="soundcloud" href="http://www.soundcloud.com/chaturdn"></a>     <a class="home_go_logo" target="_blank" title="google+" href="https://www.google.com/+dnchaturvedi/about"></a>     <a class="home_yt_logo" target="_blank" title="youtube" href="http://www.youtube.com/chaturdn"></a>     <a class="home_li_logo" target="_blank" title="linkedin" href="http://www.linkedin.com/in/chaturdn"></a> </div> 

you can use this:

 //a[@class='home_fb_logo'] 

Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

php - Improving script execution time -

How to provide Authorization & Authentication using Asp.net, C#? -