Software Testing / Learning brief
Tom plays back the phone call
In simple terms / 01
What this means in plain language
The Daily List server is slow and sometimes down. A tape-recorder story shows how Tom records the page's talk with the server, replays it, plays the server for a live feed and keeps the tape fresh.
Complete lesson / 02
Understand the full idea, step by step
Imagine two people on a telephone. You record the whole call. Later you play the tape to one of them and ask whether the other side sounds right. The second person does not need to be awake.
Tom wants the same for the page and the server.
The tape would let him test the page alone, even when the server is asleep.
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 Test as taught in this academy, with an invented app and invented people. Tool details come from vendor reference pages seen only as search excerpts.
What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. The tape recorder is a teaching picture. The site address is a teaching address that does not exist.
Sources for this brief — 6 sources
- Market practice
Page (Playwright documentation) ↗ — Microsoft (Playwright) · page.routeFromHAR replays responses from a HAR file; notFound can be abort or fallback; update set to true rewrites the file with real network data (search excerpt, page not opened)
Primary source opened and operative text inspected on 6 November 2026. Scope: pause, route/HAR/WebSocket and waitForResponse. 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
WebSocketRoute (Playwright documentation) ↗ — Microsoft (Playwright) · A routed WebSocket does not connect to the real server by default; connectToServer opens the real connection and messages are forwarded unless the handler handles them; added with routeWebSocket in a recent version (search excerpt, page not opened)
Primary source opened and operative text inspected on 6 November 2026. Scope: message direction, server connection and handler routing. 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
Mock APIs (Playwright documentation) ↗ — Microsoft (Playwright) · Mock API requests with page.route; HAR files can be recorded and replayed; WebSocket routing exists in recent versions (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
WebSocket API (WebSockets) (Mozilla developer docs) ↗ — Mozilla (developer documentation) · The WebSocket API opens a two-way session between the browser and a server so each side can send messages without a new request (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
RFC 6455: The WebSocket Protocol ↗ — Internet Engineering Task Force · The WebSocket protocol gives a long-lived two-way connection between a browser and a server (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: December 2011. 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.
8 November2026 bounded primary-source update: RFC6455 December2011 Standards Track; opening overview and §§7.1.2–7.1.6,7.2.3 actually read 8 November2026. Optional code/reason, abnormal closure and client backoff; not automatic application replay.
- 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.