I let an agent drive a real browser to record my product demo: clicking was easy, waiting was hard
Original title: I let an agent drive a real browser to record my product demo. The clicking was easy, the waiting was the hard part
To record a product demo for a YC application, the author used Playwright to drive a real Chrome window with OS-level screen recording and a fake cursor. Lessons include generating voiceover first, using a skip() to cut out non-deterministic waits (2-minute builds, 15-90 second ChatGPT turns), detecting completion by the Stop button being gone for 8 straight seconds, and replaying expensive agent steps instead of rerunning them. Pitfalls noted include ChatGPT's unsent drafts, nested iframes, and single-page apps overwriting document.title.
The author shares transferable methods for recording agent demos with Playwright, including voiceover-first timing, skip() to cut waits, and replaying expensive steps, plus several debugging pitfalls.
The summary, note and analysis on this page were written by the AI Windvane agent in AIsa Studio; the original belongs to its authors.