Selenium XPath Tutorial #11 – XPath Axes preceding, preceding-sibling

In this Selenium XPath tutorial we will learn about XPath axes methods “preceding” and “preceding-sibling” with examples.

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

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

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.

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.