Guest User

Untitled

a guest
Jan 19th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. //li/a[contains(., 'India')]
  2.  
  3. <ul>
  4. <li style="display: list-item;"><a href="#"><img src="1" class="flag">&nbsp;Afghanistan</a></li>
  5. <li style="display: list-item;"><a href="#"><img src="2" class="flag">&nbsp;India</a></li>
  6. <li style="display: list-item;"><a href="#"><img src="3" class="flag">&nbsp;British Indian Ocean Territory</a></li>
  7. </ul>
  8.  
  9. //li/a[normalize-space(.)='India']
Add Comment
Please, Sign In to add comment