easy5 pts · first answer countsui-automationseleniumlocators
Absolute or relative XPath
Why is //form[@id="login"]//button[@type="submit"] preferred over /html/body/div[2]/div/form/div[3]/button?
Discussion 0
Join free to post in the discussion.
Related questions
- Choosing a stable locatorAutomation Test Engineer
- Waiting for an elementAutomation Test Engineer
- Headless modeAutomation Test Engineer
- Reading a CSS selectorAutomation Test Engineer
- How Selenium talks to a browserAutomation Test Engineer
- Finding a button by role and nameAutomation Test Engineer
- Recording a first draft of a testAutomation Test Engineer
- Stepping through a failing testAutomation Test Engineer