Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs(cli-client/skill): fix small typos in skill references (#40942)
Aleksey Berezkaa052a364c528
diff --git a/packages/playwright-core/src/tools/cli-client/skill/references/spec-driven-testing.md b/packages/playwright-core/src/tools/cli-client/skill/references/spec-driven-testing.mdindex f37bdb44af..d0c0a18ecf 100644--- a/packages/playwright-core/src/tools/cli-client/skill/references/spec-driven-testing.md+++ b/packages/playwright-core/src/tools/cli-client/skill/references/spec-driven-testing.md@@ -191,7 +191,7 @@ Collect the generated code and write the test file at the path given in the spec// seed: tests/seed.spec.tsimport { test, expect } from './fixtures'; // or '@playwright/test' if no fixtures file-test.describe('Singing in and out', () => {+test.describe('Signing in and out', () => {test('should sign in', async ({ page }) => {// 1. Navigate to the application// (handled by the seed fixture)diff --git a/packages/playwright-core/src/tools/cli-client/skill/references/storage-state.md b/packages/playwright-core/src/tools/cli-client/skill/references/storage-state.mdindex c856db5e40..bb5021a090 100644--- a/packages/playwright-core/src/tools/cli-client/skill/references/storage-state.md+++ b/packages/playwright-core/src/tools/cli-client/skill/references/storage-state.md@@ -38,7 +38,7 @@ The saved file contains:"value": "abc123","domain": "example.com","path": "/",- "expires": 1735689600,+ "expires": 1893456000,"httpOnly": true,"secure": true,"sameSite": "Lax"@@ -92,7 +92,7 @@ playwright-cli cookie-set session abc123playwright-cli cookie-set session abc123 --domain=example.com --path=/ --httpOnly --secure --sameSite=Lax# Cookie with expiration (Unix timestamp)-playwright-cli cookie-set remember_me token123 --expires=1735689600+playwright-cli cookie-set remember_me token123 --expires=1893456000```### Delete a Cookiediff --git a/packages/playwright-core/src/tools/cli-client/skill/references/video-recording.md b/packages/playwright-core/src/tools/cli-client/skill/references/video-recording.mdindex ce9ad6a6a1..5209d21ee0 100644--- a/packages/playwright-core/src/tools/cli-client/skill/references/video-recording.md+++ b/packages/playwright-core/src/tools/cli-client/skill/references/video-recording.md@@ -40,7 +40,7 @@ playwright-cli video-start recordings/checkout-test-run-42.webm### 2. Record entire hero scripts.When recording a video for the user or as a proof of work, it is best to create a code snippet and execute it with run-code.-It allows pulling appropriate pauses between the actions and annotating the video. There are new Playwright APIs for that.+It allows inserting appropriate pauses between the actions and annotating the video. There are new Playwright APIs for that.1) Perform scenario using CLI and take note of all locators and actions. You'll need those locators to request their bounding boxes for highlight.2) Create a file with the intended script for video (below). Use pressSequentially w/ delay for nice typing, make reasonable pauses.