1 / 139 · 13 Browser Automation with Playwright · Pre-Requisites: Discover the Application and Produce Customization Artifacts⊞ allnext →☰ Read as one page
1.1Why this chapter exists
Do not start a real Playwright automation repo from a generic harness template alone.
A generic template is useful only as a starting architecture. Before Claude Code creates folders, files, agents, page objects, API clients, and starter tests, it needs application-specific truth. That truth must be written into a small set of predictable artifacts.
This chapter is the discovery and customization phase.
Its job is to turn:
generic harness principles
into:
application-specific scaffolding inputs
Only after this chapter is complete should you move to the scaffolding chapter.