Skip to main content

Parameters

Discovery task wizard parameters

**Field****Macro****Notes****Default**
Worker mode`_workerMode_``local` or `remote`. `remote` runs Docker on an SSH host.`local`
Browser`_browser_``chromium`, `firefox`, `webkit``chromium`
SSH address`_sshAddress_`Host that runs Docker (remote only)
SSH port`_sshPort_``22`
SSH user`_sshUser_`Must be able to run Docker`root`
SSH password`_sshPassword_`Encryptable via `password_encrypter.py`
Encrypt password`_sshPasswordEncrypt_`Obfuscates the password in the task configon
Temporal folder`_sshTemp_`Where the test file is copied on the remote host`/tmp`
Docker image`_dockerImage_``pandorafms/pandora_playwright:noble`
Browser width`_browserWidth_``1920`
Browser height`_browserHeight_``1080`
Test timeout`_globalTimeout_`Per-test timeout, in **seconds**`30`
Send full report`_fullReport_`Adds a verbose text report moduleoff
Report agent name`_reportAgent_`Agent that holds the full report; empty = first test's agent
Generate error history module`_errorHistoryModule_`Adds a synchronous string module per status/phase (`OK` or the error text), so Pandora keeps a historic value series of errorsoff
Playwright test (.ts)`_playwrightTest_`The full test file content

Task configuration (JSON the runner receives)

{
  "worker_mode": "local",
  "browser": "chromium",
  "ssh_address": "", "ssh_port": "22", "ssh_user": "root",
  "ssh_password": "", "ssh_password_encrypt": "0", "ssh_temp_folder": "/tmp",
  "docker_image": "pandorafms/pandora_playwright:noble",
  "browser_width": "1920", "browser_height": "1080",
  "global_timeout": "30",
  "full_report": "0",
  "report_agent": "",
  "error_history_module": "0"
}

CLI parameters (manual / standalone execution)

**Short****Long****Required****Default****Description**
`-c``--conf`yesPath to the task configuration JSON
`-s``--test`yesPath to the Playwright `.ts` test file
`-t``--task`yesTask name (used to derive the container name)
`-i``--interval`no`300`Agent interval (seconds)
`-g``--group`no`0`Group id for the created agents
`-x``--xml_mode`nooffBuild agent XML and send it via Tentacle (standalone mode)
`-S``--server`no`127.0.0.1:41121`Tentacle `server:port` (with `-x`)
`-T``--temp`no`/tmp`Temp folder for the XML (with `-x`)
`-v``--verbose`nooffStep-by-step trace to STDERR

password_encrypter -e -p <password> encrypts a password; -d decrypts it (used by the console for the SSH password field).