Selenium WebDriver 4

Manage driver binaries automatically

Medium70 pts~25 min
  • Selenium Manager
  • Capabilities
Practice app · TargetQA Practice Store

A small storefront landing page for browser setup, navigation, titles, URLs and screenshots.

Test URL
/lab/selenium-manage-driver-binaries-automatically

Your starter code already declares TEST_URL — never hardcode a host.

Objective

Let Selenium Manager (or a driver manager library) resolve the browser driver, and verify the session reports its browser version.

Your task

  1. 1Create the driver without any hardcoded driver path or system property.
  2. 2Open TEST_URL and assert the title is “TargetQA Practice Store”.
  3. 3Read the session capabilities and assert browserVersion is not empty.

Acceptance criteria

  • No hardcoded driver path is used
  • The capabilities are inspected
  • The practice app loaded
  • At least 2 assertions pass

Selenium WebDriver 4 · Selenium · Setup & first script