Launch Chrome and open a URL
Easy30 pts~12 min
- WebDriver session
- Chrome
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
Start a Chrome session, open the practice app and prove the page loaded by asserting its main heading.
Your task
- 1Create a Chrome driver (ChromeDriver, webdriver.Chrome() or a Builder for “chrome”).
- 2Open TEST_URL (declared in the starter) — never hardcode a host.
- 3Find
#page-titleand assert its text is “Welcome to the practice store”. - 4Quit the driver in teardown.
Acceptance criteria
- The test uses a Chrome driver
#page-titleis visible on the practice app- At least 1 assertion passes
Selenium WebDriver 4 · Selenium · Setup & first script