Locate and verify the login button using XPath
Preconditions (3)
Step 1: Open the browser and navigate to 'https://example.com/login'
Step 2: Locate the login button using XPath '//button[@id="loginBtn"]'
Step 3: Verify that the login button is displayed on the page
✅ Expected Result: The login button is found using XPath and is visible on the page