XPath Axes - ancestor, parent, following-sibling, preceding-sibling, child, descendant
H Y R Tutorials
@hyrtutorialsAbout
Welcome to my channel H Y R Tutorials. If you are looking for learning something useful (related to automation testing) with some good explanation, then you are in the right place. In this channel I'm going to share the knowledge on various programming languages, technologies and tools, so please stay tuned to this. π YouTube - https://www.youtube.com/hyrtutorials π Website - https://www.hyrtutorials.com π Facebook - https://www.facebook.com/hyrtutorials π Twitter - https://twitter.com/hyrtutorials π Instagram - https://www.instagram.com/hyrtutorials π Telegram - https://t.me/hyrtutorials π LinkedIn - https://www.linkedin.com/company/hyrtutorials Kindly share this channel and website with your friends and help them as well. π Please Subscribeπ to start learning for FREE now, Also help your friends in learning the best by suggesting this channel.
Latest Posts
Video Description
In this video, I have explained XPath Axes - ancestor, parent, following-sibling, preceding-sibling, child, descendant XPath Axes methods are used in finding the dynamic elements which do not have a unique attribute value. An axis represents a relationship to the context (current) element and is used to locate elements relative to that element on the DOM. ------ Axes names/methods ------- π ancestor π ancestor-or-self π descendant π descendant-or-self π preceding-sibling π following-sibling π parent π child π following π preceding ------ Examples ------ //label[text()='Email']/following-sibling::input[1] //td[text()='Maria Anders']/preceding-sibling::td/child::input //label[text()='Email']/following-sibling::input[1]/parent::div //div[@class='container']/child::input[@type='text'] //div[@class='container']/descendant::button //div[@class='buttons']/ancestor-or-self::div //label[text()='Password']/following::input[1] You can practice using the below website:π https://www.hyrtutorials.com/p/add-padding-to-containers.html βΆοΈ Next Video Link: This is the last video in this playlist βοΈ Previous Video Link: https://youtu.be/OTStvDR_jF4 βοΈ XPath (XML Path Language) Playlist Link: https://bit.ly/2RlLdkw β΄ Checkout my other playlists: https://bit.ly/3gLIAVL β Buy me a coffee: https://bit.ly/33ljBWc π Join my youtube channel to get access to perks:π https://www.youtube.com/channel/UCzFPWBdClpZ9afmmyhho4Rg/join ============================================== ============================================== Connect us @ π Website - https://www.hyrtutorials.com π Telegram - https://t.me/hyrtutorials π Facebook - https://www.facebook.com/HYRTutorials π LinkedIn - https://linkedin.com/company/hyrtutorials π Twitter - https://www.twitter.com/hyrtutorials π Instagram - https://www.instagram.com/hyrtutorials ============================================== ============================================== π Please Subscribeπ to start learning for FREE now, Also help your friends in learning the best by suggesting this channel. #selenium #xpath #xpathAxes #hyrtutorials #webAutomation descendant, parent, preceding-sibling in selenium, preceding-sibling xpath, how to identify xpath with parent child traverse relationship, xpath (following-sibling) + findelements, how to use preceding sibling (xpath axis) in xpath expressions, xpath expression locators, following-sibling xpath axes, selenium xpath traversal : parent | child | preceding-sibling | following-sibling | descendant, xpath function and axes methods||ancestor, preceding-sibling, how to crack selenium interview for experience, how to become an expert in xpath, selenium xpath axis, parent child following preceding ancestor descendant, identify xpath with parent child traverse relationship, preceding-sibling xpath axes, selenium webdriver tutorial, xpath (preceding-sibling), identify child locators through reference of parent node, css & xpath element locators, axes methods | ancestor, ancestor-or-self, how to identify siblings and traverse back to parent nodes with xpath, 1identify xpath with parent child traverse relationship, xpath axes methods following parent ancestor decendant, advanced webdriver xpath tutorial, what is xpath? | how to write xpath?, xpath tutorial for dummies, how to find xpath in chrome for selenium automation scripts, how to use xpath in selenium, how to write xpath to find elements in the webpage, xpath interview questions and answers, xpath interview questions, advanced xpath expressions in selenium, selenium xpath tutorial, dynamic xpath, dynamic xpath in selenium webdriver, xpath tutorial for beginners, selenium tutorial for beginners, selenium testing tutorial, relative xpath, following-sibling, xpath tutorial, xpath in selenium, locators in selenium webdriver, webdriver, xpath in selenium webdriver, general sibling selector, descendant selector, child selector, selenium xpath, xpath, ancestor, following, hyr tutorials, h y r tutorials, xpath axes, xpath axes in selenium, xpath axes with examples, xpath axes in selenium webdriver example, xpath axes example in selenium, xpath axes methods in selenium, xpath axes in selenium webdriver, xpath axes in selenium, xpath axes with examples, xpath axes in selenium webdriver example, xpath axes example in selenium, selenium xpath tutorial, xpath axes methods in selenium, dynamic xpath in selenium webdriver, xpath axes in selenium webdriver, xpath tutorial for beginners, selenium webdriver tutorial, selenium tutorial for beginners, selenium testing tutorial, relative xpath, following-sibling, preceding-sibling, child, preceding, self & descendant
Upgrade Your Gear Today
AI-recommended products based on this video

Apple iPad Mini (A17 Pro): Apple Intelligence, 8.3-inch Liquid Retina Display, 128GB, Wi-Fi 6E, 12MP Front/12MP Back Camera, Touch ID, All-Day Battery Life β Purple

Metapen Air 8 Apple Pencil for iPad 2018-2025, 20H Battry Life, 2Min Fast Charging, Palm Rejection, Stylus Pen for iPad 11/10/9/8/7/6th, iPad Pro 12.9/11/13βM4, iPad Air 3/4/5/6/M2/M3, iPad mini 5/6

BASESAILOR iPhone 16 15 Pro Max Charger Cord,USB to USB C Cable 6.6FT/2Pack,Type C Charging Power Cord for Apple iPad 10,Samsung Galaxy AI S25 S24 S23 S22 S20 Plus Ultra Flip,A52 A53 A54,Google Pixel
![iPhone 16 15 Charger [Apple MFi Certified] 2 Pack USB C Wall Charger Block 6FT USB C to Type C Cable Compatible with iPhone 16 15 Pro Max,16e, AirPods Pr, iPad Pro12.9/11, Samsung/Android Phones](https://m.media-amazon.com/images/I/51GjkZn3ACL._AC_UL960_FMwebp_QL65_.jpg)


















