How To Write Selenium Xpath

Posted by user3690563 on Stack Overflow See other posts from Stack Overflow or by user3690563
Published on 2014-05-30T09:19:33Z Indexed on 2014/05/30 9:24 UTC
Read the original article Hit count: 145

Filed under:
|

I am Struck here. I am Trying a write Xpath for the Code in the image. I am Trying to click Browse TAB. Where the ID is changing every time. Help me guys. Thanks you in Advance

I have tried this as my Xpath //*[@id='ext-gen43']/em/span/span

<a id="ext-gen43" class="x-tab-right" href="#">
<em class="x-tab-left">
<span class="x-tab-strip-inner">
<span class="x-tab-strip-text ">Browse</span>
</span>
</em>
</a>

© Stack Overflow or respective owner

Related posts about selenium

Related posts about xpath