chrome-proc
v1.0.2
Published
Manage Chrome browser processes, profiles, and CDP endpoints
Downloads
46
Readme
chrome-proc
Manage Chrome browser processes, profiles, and CDP endpoints.
Installation
npm install -g chrome-procUsage
chrome-proc <command> [options]Commands
list— List Chrome processes-v, --verbose— Show full command line-j, --json— Output as JSON lines
kill— Kill Chrome processes-f, --force— Use SIGKILL instead of SIGTERM-a, --all— Kill helper processes too
launch— Launch Chrome browser--dir <dir>— Chrome user data directory--profile <profile>— Chrome profile name-d, --debug— Enable remote debugging mode-p, --debugging-port <port>— Remote debugging port
profile— Manage Chrome profilesprofile list [-j, --json]profile name <profile_dir> <new_name>profile delete <profile_dir>
cdp— List CDP WebSocket URLs-j, --json— Output as JSON lines
completion <shell>— Generate shell completion script
Shell Completions
Add to your shell config:
Bash (~/.bashrc):
eval "$(chrome-proc completion bash)"Zsh (~/.zshrc):
eval "$(chrome-proc completion zsh)"