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

preview_player
Показать описание
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.

Help me in spreading the knowledge, please hit LIKE, SHARE and SUBSCRIBE for latest tutorials. More tutorial playlists below:

🔶 ENROL IN MANY FREE TRAININGS ON RCV ACADEMY PORTAL 🔶

🔶 FOLLOW US ON TWITTER 🔶

🔶 LIKE US ON FACEBOOK 🔶

🔶 OUR TUTORIAL WEBSITES 🔶

🔶 GET MY TRAININGS ON UDEMY 🔶

#XPathTutorial #XPath #SeleniumXPath #SeleniumTutorial #TestAutomation #SoftwareTesting #RcvAcademy #SoftwareTestingMentor
Рекомендации по теме
Комментарии
Автор

Notes: Selenium XPath Tutorial #10 - XPath Axes `following` and `following-sibling`

1. Introduction:
- These methods select nodes appearing after the context node in the HTML DOM.

2. `following` Method:
- `following` selects nodes appearing after the context node in the DOM.
- All nodes after the current node are selected.

3. `following-sibling` Method:
- `following-sibling` selects nodes with the same parent as the context node.
- Nodes should appear after the context node.

4. Example Using Chrome Developer Tools:
- Inspect dropdown element to demonstrate `following` and `following-sibling` methods.

5. Example Scenario:
- Select `option` element with value `AG` and find all `option` elements that appear after it.

6. XPath Examples:

7. Benefits and Usage:
- `following` and `following-sibling` are useful when web elements lack unique attributes.
- Understanding their appropriate usage enhances web element locating strategies in Selenium automation.

manoj_mafiosi
Автор

What is the difference between following and descendant ?

roohitbadole
Автор

great content as usual sir, did you discuss frames in any video?if yes kindly share link

dilawarkhan
Автор

sir you did not implemented the past 4 lectures, too much confusing this and the last 4 lectures.

dilawarkhan
Автор

getting confused what is the difference between descendant and following xpath, both looks same. please let me know the answer asap.

Master_Udvith_Shorts
Автор

the site is not working for inspecting

maneeshbuddha