I'm trying to get a clean text from tag contents (removing br and get one string value). I tried this xpath: string-join(//*[@class='our-work-title']//h3//a//text(),''). In "Runtime Value Viewer" it works and returns a list containing one element but in IDE an xpath tag with this expression returns a list containing two elements. How can I fix this?
Last edit: Saman 2015-02-19
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to get a clean text from tag contents (removing br and get one string value). I tried this xpath: string-join(//*[@class='our-work-title']//h3//a//text(),''). In "Runtime Value Viewer" it works and returns a list containing one element but in IDE an xpath tag with this expression returns a list containing two elements. How can I fix this?
Last edit: Saman 2015-02-19