Configure a headless browser run
Easy30 pts
- Headless
- Browser options
Practice app · TargetQA Practice Store
A small storefront landing page for browser setup, navigation, titles, URLs and screenshots.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
Run the browser without a visible window and prove the page still renders.
Your Task
- 1Create browser options and enable headless mode (Chrome:
--headless=new; Firefox:-headless). - 2Start the driver with those options and open TEST_URL.
- 3Assert
#page-titleis displayed and reads “Welcome to the practice store”.
Validation Checks
- Headless mode is configured
#page-titleis visible- At least 1 assertion passes
Selenium WebDriver 4 · QA Automation Practice Track · Setup & first script