Verify login button is clickable using XPath locator
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: Click the login button
Step 4: Verify that the URL changes to 'https://example.com/dashboard'
✅ Expected Result: The login button is found by XPath and clicked successfully, and the browser navigates to the dashboard page.