How does xpath works internally?

Generally we write xpath like using below formula


But have you ever thought how it works internally and how it search for the element in the DOM?

In the below tutorial I have explained how does xpath works internally, please check it out and learn the basic concepts of xpath-

In this tutorial, I have used XPath Plugin SelectorsHub to explain the concept, you can download it from here.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sanjay Kumar | Upgrade to SelectorsHub - XPathTool

Founder and Creator of SelectorsHub, TestCase Studio, TestCaseHub & ChroPath | Speaker | Blogger | Automation Passionate