microsoft/playwright-chromium
toolPlaywright Chromium - Playwright 1.65.1 Node library and its browser in a private prefix; the html-render command loads it from there
Playwright's Node library, pinned to version 1.65.1, with the Chromium build that version needs. It is installed into a private folder, ~/.local/share/octomind/playwright (or the folder named by OCTOMIND_PLAYWRIGHT_DIR), so it does not touch global npm packages or a project's node_modules. The html-render command loads Playwright from this folder. On Linux the installer also adds Chromium's system libraries when it runs as root or with passwordless sudo; otherwise it prints the command to run. Needs Node.js, which the installer adds through nodejs/node when missing.
Key Commands
| Command | Description |
|---|---|
bash deps/microsoft/playwright-chromium.sh | Install or verify the pinned package and its Chromium; exits 0 at once when both are present |
node ~/.local/share/octomind/playwright/node_modules/playwright/cli.js install chromium | Re-download Chromium by hand |
node ~/.local/share/octomind/playwright/node_modules/playwright/cli.js install-deps chromium | Install Chromium's system libraries on Linux (needs root) |
Common Usage
# Load Playwright from the private folder in a Node script
node -e "const { createRequire } = require('module'); const r = createRequire(process.env.HOME + '/.local/share/octomind/playwright/'); console.log(r('playwright').chromium.executablePath())"Browsers are cached where Playwright keeps them by default (~/Library/Caches/ms-playwright on macOS, ~/.cache/ms-playwright on Linux); PLAYWRIGHT_BROWSERS_PATH moves them.