Manual execution
Execution format
pandora_playwright -c <conf.json> -s <test.ts> -t <task_name> \
[-i <interval>] [-g <group_id>] \
[-x [-S <server:port>] [-T <temp_folder>]] \
[-v]
- Without
-x, the plugin prints Discovery JSON to STDOUT (native Discovery task mode). - With
-x, it builds agent XML and sends it via Tentacle directly (standalone/manual mode).
Examples
Native mode (JSON to STDOUT, as run by a Discovery task):
pandora_playwright -c conf.json -s task.spec.ts -t qa-test -g 0 -v
Standalone mode against a real Pandora server (creates real agents/modules via Tentacle):
pandora_playwright -x -S 127.0.0.1:41121 \
-c conf.json -s task.spec.ts -t qa-console -g 2 -T /tmp
Remote worker (Docker runs over SSH; worker_mode=remote in conf.json):
pandora_playwright -c conf_remote.json -s task.spec.ts -t qa-remote -g 0 -v
Verbose mode
-v prints a timestamped, step-by-step trace to STDERR — useful for manual runs. It logs every Docker/SSH command verbatim ($ local, ssh$ remote), the config summary, report size, screenshot harvest, per-agent build, and emission summary:
Task <id>: worker=remote browser=chromium image=...:noble timeout=15s ...
Connecting SSH to 10.0.0.5:22 as root
SSH authenticated
SCP test.ts -> /tmp/<id>.spec.ts
ssh$ docker run -d --name <id> ...:noble sleep 300
ssh$ docker cp "/tmp/<id>.spec.ts" <id>:/pandora/task.spec.ts
ssh$ docker exec <id> sh -c 'cd /pandora && ... npx playwright test ... --reporter=json'
ssh$ docker exec <id> cat /tmp/report.json
Report retrieved (10744 bytes)
Screenshot harvested: .../test-failed-1.png (7416 b64 chars)
ssh$ docker rm -f <id>
Agent a... [passing checkout]: PASS, 2 phases, 9 modules
Emitting monitoring_data: 2 agents