using xpath or css : How to get something which is selected on page

Posted by doneright on Stack Overflow See other posts from Stack Overflow or by doneright
Published on 2010-04-09T19:11:14Z Indexed on 2010/04/09 19:13 UTC
Read the original article Hit count: 141

Filed under:
|
|

using xpath or css : How to get something which is selected on page using following html code. in following code, Element1 is selected on page and I wanted to find name of element that is selected on page.

Element1

© Stack Overflow or respective owner

Related posts about xpath

Related posts about selenium