set_download_behavior
Control download handling by saving files to a specified folder, canceling them, or restoring default behavior without the native file dialog.
Instructions
Control how downloads are handled: allow (save to a destination folder), deny (cancel), or reset to default. Avoids the native save-file dialog. Requires a recent Firefox.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| behavior | Yes | 'allowed' saves downloads to `downloadFolder`, 'denied' cancels them, 'default' resets to the browser default | |
| downloadFolder | No | Path to the folder where downloads should be stored, created if missing. Only used for behavior='allowed', where it defaults to ~/.firefox-devtools-mcp/output/downloads. Relative paths resolve against the current working directory. |