Automation Question:

Tell me what is an Absolute XPath?

Tweet Share WhatsApp

Answers:

Answer #1Absolute XPath is the direct way to find the element. It has a disadvantage. XPath gets failed if there are any changes made in the path of the element. html/body/div[3]/div/div[1]/div/div/div[1]/div/input - Absolute XPath example.

Answer #2Absolute path provides the address of the webelement from the starting root element and end at the actual element.

Download Automation PDF Read All 108 Automation Questions
Previous QuestionNext Question
Tell me does the Selenium have any limitations?Explain me what the WebDriver supported Mobile Testing Drivers do you know?