Hello Folks, In this post we are going to learn below topics:- What is string() method in XPath?What is difference between string() and text() in XPath?Usage of string() in XPath. What is string() method in XPath? Before learning about we will understand a term "TextNode". We can insert text in DOM as a node using … Continue reading XPath Method – string() – Usage in Locating Element- How it is Different From text()