A place I used to work at used to send out weekly XPath writing challenges. I’ve decided to do the same thing on my blog, only to include both CSS Selectors and XPaths.
Each week, I will post a website and a element on that website and ask everyone to write create either a CSS Selector or XPath to locate that element.
For the first week, I chose the button from Day 21 of the 30 days of testing challenge.
Write an XPath or CSS Selector that will allow you to locate and click the button on the following webpage.
https://ministryoftesting.github.io/the-button/
Post your answers either here or on my blog. I’ll provide my own answer plus a new challenge next week.