Skip to content

Commit 9cf8a9e

Browse files
authored
Add codegen command for Playwright q
1 parent 733e186 commit 9cf8a9e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pages/playwright/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ <h2>Usefull snippets</h2>
4747

4848
// extra step for codegen
4949
await expect(page.locator("body")).toHaveCount(1);
50+
./node_modules/.bin/playwright codegen http://0.0.0.0:5678/vite-project/dist/
5051

5152
</script>
5253

0 commit comments

Comments
 (0)