medium10 pts · first answer countsui-automationseleniumlocators
A button with extra spaces
The button's HTML spreads its text over several lines, with extra spaces before, after and between the words "Save" and "draft". Which XPath matches it reliably?
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