If i enter a particular xpath in a firepath..that web-element gets highlighted on UI .but there is object on UI whr the xpath for that element is displayed in firepath when I inspect that element using firebug but that object does not get highlighted on UI as soon as i click enter in firepath..I think bcz driver is not finding that element just by giving xpath..I m trying to extract the text out of it..how can we handle this scenario ..below is my xpath
.//*[@id='UIComp_2']/svg/g[5]/g/text/tspan
M
Replied on 01/04/2016
after a help from communitry search ..i could find the solution for this.. Posting solution here : //*[name()='svg']//*[name()='g']//*[name()='text']//*[name()='tspan']