• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to select xpath with text containing single and double quotes in selejium java?  RSS feed

 
Matt Taylor
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys, I have a xpath expression that I need to select the size of an object. For example, 6'6".
I am trying to do the following but it is not working:

 
Paul Clapham
Sheriff
Posts: 22813
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My guess (and it's only a guess):



If I recall correctly, you can use either single or double quotes to surround a string in XPath.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!