Software Testing / Learning brief
Tom meets the guard and the glass box
In simple terms / 01
What this means in plain language
Tom's Daily List tests get stuck at a card form in a frame, a Delete box and a Help tab. A house story shows how Playwright reaches into frames, answers dialogs and catches new tabs for him.
Complete lesson / 02
Understand the full idea, step by step
A big house has a room with a glass box inside it. You cannot reach what is in the box by walking round the room. You must open the box first. A guard may also stop you and ask a question before you go on.
Tom's tests keep stopping at those places. The card form is a glass box. The Delete box is a guard. The Help link is a door to a second room.
Evidence & review / 03
Evidence & review
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.
Playwright frames, dialogs and popups as taught in this academy, on an invented app. The tool details come from search excerpts of its documentation.
What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. The house is a teaching picture. The site address and the test card number are invented.
Sources for this brief — 5 sources
- Market practice
Locator (Playwright documentation) ↗ — Microsoft (Playwright) · frameLocator creates a locator that enters an iframe so elements inside it can be found; inner locators stay relative to the frame (search excerpt, page not opened)
Primary source opened and operative text inspected on 6 November 2026. Scope: selectOption, setChecked, setInputFiles and tap. 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
Dialogs (Playwright documentation) ↗ — Microsoft (Playwright) · alert, confirm and prompt dialogs are dismissed automatically by default; page.on dialog with accept and dismiss; a listener that does not handle the dialog leaves the page waiting; accept can take prompt text (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
Pages (Playwright documentation) ↗ — Microsoft (Playwright) · Start waiting for the popup event before the click that opens it, then wait for the popup to load; the context page event covers new tabs (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
The iframe element (Mozilla developer docs, HTML reference) ↗ — Mozilla (developer documentation) · An iframe element embeds another HTML page inside the current page (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.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
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.