Unpinned npx and npm examples may fetch and run whichever package version resolves at the time
Source references: 2The Skill recommends invoking npx playwright directly and shows an npm install command without a version. Without a locked local dependency, the package manager may resolve, download, and execute package code available from the configured registry at that time.
If the registry, name resolution, or latest package release is compromised, install scripts or test tooling can run with the user's permissions and access the test workspace and its environment variables.
These are manual documentation examples and are not automatically executed by the Skill. However, both npx commands omit a version; if Playwright is absent locally and npx permits automatic fetching, it may download and run the package resolved from the configured registry. The npm install example also leaves `@axe-core/playwright` unpinned, so results can vary with resolution time, registry, and lockfile and may invoke dependency install scripts. The user can require a lockfile, exact versions, and a trusted registry.
```typescript// Playwright debugging// 1. Run in headed modenpx playwright test --headed// 2. Run in debug modenpx playwright test --debugShow 1 other places
### Pattern 3: Accessibility Testing```typescript// Install: npm install @axe-core/playwrightimport { test, expect } from "@playwright/test";import AxeBuilder from "@axe-core/playwright";