Selenium XPath Tutorial #6 – XPath AND Operator | XPath OR Operator

In this Selenium Xpath tutorial we will learn how to use AND & OR operator to find selenium XPath.

XPath AND/OR Operator helps in finding xpaths to webelements using multiple element attributes.

Selenium XPath Tutorial #7 – XPath Axes Methods | Parent, Child, Self

In this Selenium XPath tutorial we will learn about XPath Axes methods Parent, Child and Self.

Xpath axes methods are very helpful in finding the webelements in context to the current node. There will be many scenarios in which the webelement you want to select does not have any unique attributes to define the XPATH, in those scenarios you can use the Axes methods to find that webelement in reference to the other.

Selenium XPath Tutorial #8 -Axes Method descendant, descendant-or-self

In this Selenium Xpath tutorial we will learn about Xpath axes method descendant and descendant-or-self with examples.

XPath axes descendant method help in selecting all the descendant nodes of the current node.

XPath axes descendant-or-self method helps in selecting current node as well as all the descendant nodes of current node. Watch the full tutorial to understand xpath axes descendant methods with examples.

Selenium XPath Tutorial #9 – Axes Methods | ancestor, ancestor-or-self

In this Selenium XPath tutorial we will learn about XPath axes method ancestor and ancestor-or-self with examples.

XPath axes ancestor method helps in selecting all the ancestor nodes of the current node.

XPath axes ancestor-or-self method helps in selecting current node as well as all the ancestor nodes of current node. Watch the full tutorial to understand XPath axes ancestor methods with examples.

Selenium XPath Tutorial #10 – XPath Axes following, following-sibling

In this Selenium Xpath tutorial we will learn about Xpath axes method “following” and “following-sibling” with examples.

XPath axes “following” method help in selecting all the nodes that appear after the context (Current) node.

XPath axes “following-sibling” method helps in selecting all the nodes that have the same parent as the context (Current) node and appear after the context (Current) node.