Configure Chrome browser with ChromeOptions and verify browser launch
Preconditions (3)
Step 1: Create a ChromeOptions object
Step 2: Add the argument '--headless' to run Chrome in headless mode
Step 3: Add the argument '--disable-gpu' to disable GPU usage
Step 4: Initialize ChromeDriver with the ChromeOptions
Step 5: Navigate to 'https://www.example.com'
Step 6: Verify the page title is 'Example Domain'
Step 7: Close the browser
✅ Expected Result: Chrome browser launches in headless mode with specified options, navigates to example.com, and page title matches 'Example Domain'. Browser closes successfully.