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
chore(npm): include all *.md from lib (#39969)
Yury Semikhatskydbaa080f67ff
diff --git a/packages/playwright-core/.npmignore b/packages/playwright-core/.npmignoreindex 24d944fb4b..edcebb033c 100644--- a/packages/playwright-core/.npmignore+++ b/packages/playwright-core/.npmignore@@ -11,7 +11,7 @@!lib/**/*.svg!lib/**/*.ttf!lib/**/*.json-!lib/**/skill/**/*.md+!lib/**/*.md!lib/utilsBundleImpl/xdg-open!lib/**/manifest.webmanifest# Exclude injected files. A preprocessed version of these is included via lib/generated.diff --git a/packages/playwright-core/src/tools/trace/installSkill.ts b/packages/playwright-core/src/tools/trace/installSkill.tsindex 4194a639f6..e45eefcc1c 100644--- a/packages/playwright-core/src/tools/trace/installSkill.ts+++ b/packages/playwright-core/src/tools/trace/installSkill.ts@@ -22,7 +22,7 @@ import path from 'path';export async function installSkill() {const cwd = process.cwd();const skillSource = path.join(__dirname, 'SKILL.md');- const destDir = path.join(cwd, '.claude', 'playwright-trace');+ const destDir = path.join(cwd, '.claude', 'skills', 'playwright-trace');await fs.promises.mkdir(destDir, { recursive: true });const destFile = path.join(destDir, 'SKILL.md');await fs.promises.copyFile(skillSource, destFile);