How UI automation works: browsers, drivers and structure
See the parts behind any web user interface (UI) automation tool: the check, the driver, the browser and the page, so you can read Selenium, Playwright or Cypress.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a remote-control car. You hold a remote in your hand and press forward. The car does the moving. A camera on the car shows what is ahead, and you read the picture to decide what to press next.
A user interface (UI) check works the same way. Tom writes steps: open Daily List, click Add task, read the list. The steps are the remote. A real browser is the car. The page on the screen is what the camera shows.
In the Selenium example, a helper called a sits between the check and browser. It takes the commands and makes the browser carry them out. It sends back what the browser sees.
Leo uses the picture to explain commands and responses. Other tools can connect to a browser differently; the separate driver is the Selenium example, not a rule for every tool.
The picture has limits. A toy car stays where you put it. A real page moves and loads while you watch, so the check must learn to wait.
(SYNTHETIC / TRAINING ONLY: Daily List and every person named in this lesson are invented.)
PLAIN WORDS · 1 in this section
- selenium
- A free tool that drives a web browser for checks.
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 Seeing the parts behind any web check: the remote, the helper, the browser and the page.
- Write the steps
- Send to the driver
- Let the browser move
- Read the page
HOW THE PICTURE MAPS
| In the picture | In the software |
|---|---|
| The remote | The check with its steps |
| The helper box | The browser driver |
| The car | The real browser |
| The camera picture | The page the check reads |
WHERE THIS PICTURE STOPS
- A toy car stays still. A page loads while you watch.
- A remote has a few buttons. A check can send many kinds of commands.
- A camera shows everything. A check reads only what it asks for.
HOOK
Check, driver, browser, page.
REMEMBER IT THIS WAY
A rule of thumb: if you see this, think that.
If a UI check fails, usually ask which link broke: the steps, the driver, the browser or the page it read.
| In the trick | What it stands for |
|---|---|
| Steps | The check with its steps |
| Driver | The browser driver |
| Page | The page the check reads |
It misleads when the fault is in the app itself rather than in the chain between.
TELL A FRIEND
A remote controls a car through a helper box. controls a browser through a driver and reads the page back.
OFTEN MIXED UP WITH Reading an automated check. The reading lesson finds set-up, action and comparison. This lesson shows what carries the action into a browser.
Sources & standards — 1 source
- Market practice
WebDriver, World Wide Web Consortium Recommendation ↗ — World Wide Web Consortium · Actual W3C WebDriver Recommendation Find Element algorithm section 12.2 opened 6 November 2026: no such element for absent document root or empty find result. This error is not a backend-health test.
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
PRACTISE AND KEEP
Sources for this topic — 7 sources
- Market practice
WebDriver, World Wide Web Consortium Recommendation ↗ — World Wide Web Consortium · New Session is POST /session; Find Element is POST /session/{session id}/element; Element Click is a POST on the element click path; errors include element not interactable (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Auto-waiting (Playwright documentation) ↗ — Microsoft (Playwright) · Playwright runs actionability checks (visible, stable, enabled, receives events) before an action and fails with a timeout if they do not pass (search excerpt, page not opened)
Primary source opened and operative text inspected on 6 November 2026. Scope: Complete extracted primary article; examples inspected, not executed. Current live Playwright documentation reflects 1.65 where stated; explicit older examples retain their version. Source inspection is not an execution or compatibility-test claim. See the completed v45 Playwright analysis for source discrepancies and exact reading boundaries.
- Market practice
Isolation (Playwright documentation) ↗ — Microsoft (Playwright) · Each Playwright test gets its own browser context, a clean-slate environment like an incognito profile (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Grid architecture (Selenium documentation) ↗ — Selenium · Selenium Grid 4 has a router, distributor, new session queue, nodes, a session map and an event bus; hub and node is the common setup (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Retry-ability in Cypress (Cypress documentation) ↗ — Cypress · Cypress commands are queued, queries retry as a chain, and commands such as click run once (primary page opened and read, 2026-10-22)
Opened and read on 2026-10-22. The sections on queries, assertions as retry boundaries, and splitting chains explain why a passed assertion can keep a subject that the app later replaces. A new query starts from the page again. A should callback can keep related read-only checks together. This is vendor documentation, not a standard. No edition number is stated.
- Market practice
Selenium Manager ↗ — Selenium project · r8a-selenium-manager (discovers, downloads and caches drivers; fallback when none is given). The stale-driver warning is from Selenium GitHub issue threads seen as search excerpts (SeleniumHQ/selenium #12957, #11302), not cited as a source. Search excerpt, page not opened.
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Getting started with Selenium Grid ↗ — Selenium project · r8a-selenium-grid-getting-started (standalone, hub and node, distributed; RemoteWebDriver reaches the grid by address); selenium-grid-architecture. Search excerpt, page not opened.
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
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.