Skip to content

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

feat: make `npx playwright clear-cache` public (#32638)

Dmitry Gozmance06a81aa656
diff --git a/packages/playwright/src/program.ts b/packages/playwright/src/program.ts
index dd8d181676..775ef27065 100644
--- a/packages/playwright/src/program.ts
+++ b/packages/playwright/src/program.ts
@@ -69,7 +69,7 @@ function addListFilesCommand(program: Command) {
}
function addClearCacheCommand(program: Command) {
- const command = program.command('clear-cache', { hidden: true });
+ const command = program.command('clear-cache');
command.description('clears build and test caches');
command.option('-c, --config <file>', `Configuration file, or a test directory with optional "playwright.config.{m,c}?{js,ts}"`);
command.action(async opts => {