Find buttons with basic XPath
Automation taskEasyAsked in: Accenture, Capgemini, Infosys, TCS, Wipro
"Write an XPath for the button with id leftClick, and one for any disabled button." A relative XPath starts with //, which means "anywhere in the page", and filters with a condition in square brackets, such as //button[@id='leftClick'].