Software Testing / Learning brief

Tom sorts his script into go, ask and act

What this means in plain language

Tom's ten-line script confuses a new joiner until he sorts it into three kinds of command. A story about navigating, asking and acting, and about reading the error name when a line fails.

Understand the full idea, step by step

A remote-control car has buttons that drive it, a screen that shows its speed, and switches for the lights. Every trick uses a mix of those three.

Mei asks Tom to explain his browser script to a new joiner. Tom looks at the ten lines and sees the same three kinds of button.

Evidence & review

REVIEWED 2026-10-18

The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.

WebDriver commands as taught in this academy, with an invented app. The script is a teaching example.

What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. Command names differ between tools, and the three-kind sort is a teaching simplification.

Sources for this brief — 5 sources
  1. Market practice

    Browser navigation (Selenium documentation) ↗ — Selenium project · Commands to open an address, go back, go forward and refresh; the page title and current address are read from the driver (search excerpt, page not opened)

    Shows the commands to open an address, go back, go forward and refresh, and (on the browser interactions page) to read the page title and the current address. Vendor documentation for one tool. Practitioner guidance, not a standard. · Checked 2026-10-18

    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.

  2. Market practice

    Information about web elements (Selenium documentation) ↗ — Selenium project · An element can be asked whether it is displayed, enabled or selected; its text is the visible text; an attribute read returns the current value, and a separate read returns only the value written in the page markup (search excerpt, page not opened)

    Describes asking an element whether it is displayed, enabled or selected, and reading its attribute and its visible text. The text is the visible text, including sub-elements. A read of an attribute returns the current value, even if it changed after the page loaded. Vendor documentation for one tool. Practitioner guidance, not a standard. · Checked 2026-10-18

    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.

  3. Market practice

    WebDriver, World Wide Web Consortium Recommendation ↗ — World Wide Web Consortium · Defines the command set; error codes include element not interactable and element click intercepted (search excerpt, page not opened)

    Defines the HyperText Transfer Protocol (HTTP) command set of the WebDriver protocol. New Session is POST /session. Find Element is POST /session/{session id}/element. Element Click is POST on the element click path. Error codes include element not interactable and element click intercepted. Practitioner or vendor guidance, not a standard unless stated. · Checked 2026-10-18

    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.

  4. Market practice

    Understanding common errors (Selenium documentation) ↗ — Selenium project · A stale element reference means the element is no longer attached to the page, usually because the page redrew it; find it again each time (search excerpt, page not opened)

    Per the search excerpt, a stale element reference means the element is no longer attached to the page, usually because the page redrew it; the advice is to find the element again each time it is used. · Checked 2026-10-18

    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.

  5. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.

Learn this properly

START HEREReading a driver's commands: navigate, ask, actEvery line of a browser script is one of three kinds: go somewhere, ask a question or do something. Learn the three kinds and what their error names mean.Opens at L0 Explain simply · about 16 min

Related briefs