# Parameters

**Discovery task wizard parameters**

<table border="1" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width:22%;"><col style="width:20%;"><col style="width:38%;"><col style="width:20%;"></colgroup><tbody>
<tr><td>**Field**</td><td>**Macro**</td><td>**Notes**</td><td>**Default**</td></tr>
<tr><td>Worker mode</td><td>`_workerMode_`</td><td>`local` or `remote`. `remote` runs Docker on an SSH host.</td><td>`local`</td></tr>
<tr><td>Browser</td><td>`_browser_`</td><td>`chromium`, `firefox`, `webkit`</td><td>`chromium`</td></tr>
<tr><td>SSH address</td><td>`_sshAddress_`</td><td>Host that runs Docker (remote only)</td><td>—</td></tr>
<tr><td>SSH port</td><td>`_sshPort_`</td><td>—</td><td>`22`</td></tr>
<tr><td>SSH user</td><td>`_sshUser_`</td><td>Must be able to run Docker</td><td>`root`</td></tr>
<tr><td>SSH password</td><td>`_sshPassword_`</td><td>Encryptable via `password_encrypter.py`</td><td>—</td></tr>
<tr><td>Encrypt password</td><td>`_sshPasswordEncrypt_`</td><td>Obfuscates the password in the task config</td><td>on</td></tr>
<tr><td>Temporal folder</td><td>`_sshTemp_`</td><td>Where the test file is copied on the remote host</td><td>`/tmp`</td></tr>
<tr><td>Docker image</td><td>`_dockerImage_`</td><td>—</td><td>`pandorafms/pandora_playwright:noble`</td></tr>
<tr><td>Browser width</td><td>`_browserWidth_`</td><td>—</td><td>`1920`</td></tr>
<tr><td>Browser height</td><td>`_browserHeight_`</td><td>—</td><td>`1080`</td></tr>
<tr><td>Test timeout</td><td>`_globalTimeout_`</td><td>Per-test timeout, in **seconds**</td><td>`30`</td></tr>
<tr><td>Send full report</td><td>`_fullReport_`</td><td>Adds a verbose text report module</td><td>off</td></tr>
<tr><td>Report agent name</td><td>`_reportAgent_`</td><td>Agent that holds the full report; empty = first test's agent</td><td>—</td></tr>
<tr><td>Generate error history module</td><td>`_errorHistoryModule_`</td><td>Adds a synchronous string module per status/phase (`OK` or the error text), so Pandora keeps a historic value series of errors</td><td>off</td></tr>
<tr><td>Playwright test (.ts)</td><td>`_playwrightTest_`</td><td>The full test file content</td><td>—</td></tr>
</tbody></table>

**Task configuration (JSON the runner receives)**

```json
{
  "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)**

<table border="1" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width:12%;"><col style="width:16%;"><col style="width:10%;"><col style="width:16%;"><col style="width:46%;"></colgroup><tbody>
<tr><td>**Short**</td><td>**Long**</td><td>**Required**</td><td>**Default**</td><td>**Description**</td></tr>
<tr><td>`-c`</td><td>`--conf`</td><td>yes</td><td>—</td><td>Path to the task configuration JSON</td></tr>
<tr><td>`-s`</td><td>`--test`</td><td>yes</td><td>—</td><td>Path to the Playwright `.ts` test file</td></tr>
<tr><td>`-t`</td><td>`--task`</td><td>yes</td><td>—</td><td>Task name (used to derive the container name)</td></tr>
<tr><td>`-i`</td><td>`--interval`</td><td>no</td><td>`300`</td><td>Agent interval (seconds)</td></tr>
<tr><td>`-g`</td><td>`--group`</td><td>no</td><td>`0`</td><td>Group id for the created agents</td></tr>
<tr><td>`-x`</td><td>`--xml_mode`</td><td>no</td><td>off</td><td>Build agent XML and send it via Tentacle (standalone mode)</td></tr>
<tr><td>`-S`</td><td>`--server`</td><td>no</td><td>`127.0.0.1:41121`</td><td>Tentacle `server:port` (with `-x`)</td></tr>
<tr><td>`-T`</td><td>`--temp`</td><td>no</td><td>`/tmp`</td><td>Temp folder for the XML (with `-x`)</td></tr>
<tr><td>`-v`</td><td>`--verbose`</td><td>no</td><td>off</td><td>Step-by-step trace to STDERR</td></tr>
</tbody></table>

`password_encrypter -e -p <password>` encrypts a password; `-d` decrypts it (used by the console for the SSH password field).