Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs(cli): clarify --profile expects a user data directory (#40450)

Solomon Neas42d0bbe257b1
diff --git a/packages/playwright-core/src/tools/cli-daemon/commands.ts b/packages/playwright-core/src/tools/cli-daemon/commands.ts
index b36cce71af..8035d85420 100644
--- a/packages/playwright-core/src/tools/cli-daemon/commands.ts
+++ b/packages/playwright-core/src/tools/cli-daemon/commands.ts
@@ -47,7 +47,7 @@ const open = declareCommand({
config: z.string().optional().describe('Path to the configuration file, defaults to .playwright/cli.config.json'),
headed: z.boolean().optional().describe('Run browser in headed mode'),
persistent: z.boolean().optional().describe('Use persistent browser profile'),
- profile: z.string().optional().describe('Use persistent browser profile, store profile in specified directory.'),
+ profile: z.string().optional().describe('Path to a persistent user data directory.'),
}),
toolName: '',
toolParams: () => ({}),