Verify switching between browser windows
Preconditions (2)
Step 1: Open the main page URL
Step 2: Click the link or button that opens a new window
Step 3: Switch to the new window
Step 4: Verify the new window's title is as expected
Step 5: Close the new window
Step 6: Switch back to the original window
Step 7: Verify the original window's title is as expected
✅ Expected Result: The test switches to the new window correctly, verifies its title, closes it, and returns to the original window verifying its title.