Locators In Selenium WebDriver Part-6| Xpath Session-1

Опубликовано: 21 Октябрь 2024
на канале: AUTOMATION WITH PRIYANKA
188
11

Hello Everyone,
In this video I have covered bascis of XPath Locator.
XPath stands for XML Path Query Language
it's a query language used to navigate and query XML documents, including HTML.
It allows testers to define expressions that describe a path to the desired XML/HTML node.
XPath expressions can select nodes from the DOM, including elements, attributes, and text.
It provides a powerful and flexible way to traverse the hierarchical structure of a document and locate specific elements.
Absolute XPath
Expressions can start with a forward slash (/) to select nodes from the root of the document 

Relative XPath
Expressions can start with a double forward slash (//) to select nodes from anywhere in the document.

Next Xpath Tutorial will upload soon
Happy Learning!

Thanks,
Priyanka Nigade