Generating Playwright Tests in VS Code

Опубликовано: 02 Июнь 2026
на канале: Playwright
51,465
765

Let’s take a look at how to generate a test based on your user actions and then write some assertions. Then we can use the pick locator option in VS Code to pick the locator we want and the record at cursor option to record a test from a specific place in our code.

00:00 Generating tests with Codegen
02:33 Picking a locator
04:41 Recording at cursor

Useful Links:
Docs: https://playwright.dev/docs/getting-s...
Discord: https://aka.ms/playwright/discord
GitHub: https://github.com/microsoft/playwright
Twitter:   / playwrightweb  

#playwright #vscode #playwrightdev #playwrightweb