TOPIC 12/2216 MINNOT STARTED

Selenium from zero: install, driver set-up and a first script that opens a page

Install Selenium for Python or Java, let Selenium Manager find the browser driver, and run a first script that opens a page, reads its title and closes the browser.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: a remote control and its batteries. The remote sends the command. The batteries must match the device. A charger that picks the right batteries saves you a trip to the shop. The first button press proves the set works.

Tom wants a controlled first browser run before testing synthetic Daily List behavior. A Selenium binding is the language package used by test code. helps resolve browser/driver dependencies when a driver is not provided. A establishes a session, performs a small stated check and releases it.

The remote-control picture distinguishes the Python library, and browser. They are separate components with separate version and environment requirements.

The picture has a limit. Manager can reuse cached artifacts or use offline configuration; it does not always download on every run. A browser session that starts does not prove that the application's business behavior is correct.

(SYNTHETIC / TRAINING ONLY: Daily List and every named person are invented.)

PLAIN WORDS · 2 in this section
selenium
A free tool that drives a web browser for checks.
reuse
to use something again

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the software.

THE REAL JOB Establish a controlled Selenium browser with a declared oracle and reliable cleanup.

  1. Install
  2. Match
  3. Press
Remote control

HOW THE PICTURE MAPS

How each part of the picture matches the software
In the pictureIn the software
The remoteThe Selenium library
The batteriesThe browser driver
The smart chargerSelenium Manager
The first button pressThe first script

WHERE THIS PICTURE STOPS

  • Library, driver and browser are separate components; first-run success is a narrow smoke check.
  • Manager can reuse cache/provisioned artifacts; offline mode cannot create an absent compatible artifact.

HOOK

Remote, batteries, charger.

TELL A FRIEND

A remote: library, driver, first press.

OFTEN MIXED UP WITH How the web works, for testers. That topic explains how the web works. This one installs Selenium and opens a page from code.

Sources & standards — 3 sources
  1. Implementation-specific

    Selenium Manager ↗ — Selenium project · Fallback usage; automated driver/browser management; cache, offline, provided drivers and configuration (selected actual primary passages read 7 November 2026; live publisher documentation; no fixed edition claimed).

    Fallback usage; automated driver/browser management; cache, offline, provided drivers and configuration. Named standard/version or product-specific guidance only; no universal employer practice inferred. · Checked 2026-11-07

    Selected actual primary passages read on the access date, not every linked guide. Live documentation, tagged package metadata and W3C2018 have distinct scopes. Daily List rules, people, identifiers and observations are synthetic. Educational sequences do not claim installation, vendor-package or live-app execution.

  2. Implementation-specific

    Python package metadata — Selenium 4.52.0 ↗ — Selenium project · Tagged pyproject.toml: project requirements and Python minimum (selected actual primary passages read 7 November 2026; Selenium 4.52.0 Python source tag).

    Tagged pyproject.toml: project requirements and Python minimum. Named standard/version or product-specific guidance only; no universal employer practice inferred. · Checked 2026-11-07

    Selected actual primary passages read on the access date, not every linked guide. Live documentation, tagged package metadata and W3C2018 have distinct scopes. Daily List rules, people, identifiers and observations are synthetic. Educational sequences do not claim installation, vendor-package or live-app execution.

  3. Implementation-specific

    Write your first Selenium script ↗ — Selenium project · Selected startup, commands and quit sequence (selected actual primary passages read 7 November 2026; live publisher documentation; no fixed edition claimed).

    Selected startup, commands and quit sequence. Named standard/version or product-specific guidance only; no universal employer practice inferred. · Checked 2026-11-07

    Selected actual primary passages read on the access date, not every linked guide. Live documentation, tagged package metadata and W3C2018 have distinct scopes. Daily List rules, people, identifiers and observations are synthetic. Educational sequences do not claim installation, vendor-package or live-app execution.

PRACTISE AND KEEP

Sources for this topic — 3 sources
  1. Implementation-specific

    Selenium Manager ↗ — Selenium project · Fallback usage; automated driver/browser management; cache, offline, provided drivers and configuration (selected actual primary passages read 7 November 2026; live publisher documentation; no fixed edition claimed).

    Fallback usage; automated driver/browser management; cache, offline, provided drivers and configuration. Named standard/version or product-specific guidance only; no universal employer practice inferred. · Checked 2026-11-07

    Selected actual primary passages read on the access date, not every linked guide. Live documentation, tagged package metadata and W3C2018 have distinct scopes. Daily List rules, people, identifiers and observations are synthetic. Educational sequences do not claim installation, vendor-package or live-app execution.

  2. Implementation-specific

    Python package metadata — Selenium 4.52.0 ↗ — Selenium project · Tagged pyproject.toml: project requirements and Python minimum (selected actual primary passages read 7 November 2026; Selenium 4.52.0 Python source tag).

    Tagged pyproject.toml: project requirements and Python minimum. Named standard/version or product-specific guidance only; no universal employer practice inferred. · Checked 2026-11-07

    Selected actual primary passages read on the access date, not every linked guide. Live documentation, tagged package metadata and W3C2018 have distinct scopes. Daily List rules, people, identifiers and observations are synthetic. Educational sequences do not claim installation, vendor-package or live-app execution.

  3. Implementation-specific

    Write your first Selenium script ↗ — Selenium project · Selected startup, commands and quit sequence (selected actual primary passages read 7 November 2026; live publisher documentation; no fixed edition claimed).

    Selected startup, commands and quit sequence. Named standard/version or product-specific guidance only; no universal employer practice inferred. · Checked 2026-11-07

    Selected actual primary passages read on the access date, not every linked guide. Live documentation, tagged package metadata and W3C2018 have distinct scopes. Daily List rules, people, identifiers and observations are synthetic. Educational sequences do not claim installation, vendor-package or live-app execution.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.