Playwright · Command
playwright codegen
Playwright codegen records browser interactions and generates test code. It can also create assertions, locators, emulated sessions, and reusable authenticated states.
Last updated
Syntax
playwright codegen [URL]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
Playwright InspectorPick Locator--color-scheme--geolocation--lang--timezone--http-credentialspage.pause()