Xpath and innerHTML

Posted by Jonathan on Stack Overflow See other posts from Stack Overflow or by Jonathan
Published on 2010-05-09T15:07:16Z Indexed on 2010/05/09 15:18 UTC
Read the original article Hit count: 437

Filed under:
|

What Xpath expression can I use to find all the anchor (just 'a') elements whose actual text (the innerHTML) is Logout.

something like

//a[@innerHTML='Logout']

Would that be correct?

© Stack Overflow or respective owner

Related posts about xpath-expression

Related posts about innerhtml