READ-ONLY PACKAGE PREVIEW

playwright-cli/examples/README.md

Version b85c7a736bb4.bb1 · Apache-2.0. This preview displays packaged text and does not execute code. Treat the contents as untrusted instructions.

← Return to resource and package checksum

Local browser command fixture

Copyright (c) 2026 BB Skills. Apache-2.0, see LICENSE.bb-skills.txt and NOTICE.bb-skills.txt in the package root. Synthetic inputs only. Runtime binaries are separate and not bundled.

Review index.html, other.html, serve_fixture.py and run_cli_fixture.py before use. Start python serve_fixture.py in this directory; it listens on 127.0.0.1:8767 and does not submit data externally. In a second terminal, run python run_cli_fixture.py --cli-script /path/to/playwright-cli.js --session YOUR_EXISTING_SESSION. If Node is not on PATH, add --node /path/to/node. Review and configure your browser executable and persistent profile independently before opening that session; the runner intentionally requires an existing session and will not open a fallback. A user data root and a profile folder such as Default are different settings.

The evidence records Playwright CLI 0.1.22, Chrome 154, Node.js 24.10.0, Python 3.12.4 and Windows. It records the four fixture source hashes and 15 named observations. No AI client, production page, real login, browser restart persistence, payment integration or full security/accessibility audit was performed; runtime_tested is false. Reproduction on another environment produces new versions, times and screenshot bytes.

The runner opens only two local fixture tabs, mocks only the exact loopback /api/ideas route, removes that route, restores the page media override and closes its own tabs. It checks existing tab URLs in memory to confirm preservation, but never persists their URLs or complete CLI output. It does not read cookies, credentials, storage state or profile contents. The saved snapshots and screenshot show only the synthetic fixture. The missing-reference command is a deliberate expected rejection. Stop the local fixture server when finished.

The upstream instructions are separately retained unchanged, including examples for operations this fixture does not execute. No upstream script executes automatically when you download or inspect this package.