Automate browser setup and teardown using fixtures
Preconditions (4)
Step 1: Create a pytest fixture that opens a Chrome browser before each test
Step 2: Navigate to 'https://example.com' in the browser
Step 3: Verify the page title contains 'Example Domain'
Step 4: Close the browser after the test completes
✅ Expected Result: The browser opens, navigates to the page, verifies the title, and closes cleanly after the test