Skip to content

Configuration

lotus64 edited this page Jun 17, 2026 · 1 revision

Configuration

The config block in your YAML file defines global settings for the script execution.

config:
  headless: false
  slow_mo: "500ms"
  timeout: "30s"
  output: "./output"
  browsers:
    - chromium
    - firefox
  humanize: true

Options

  • headless (boolean): Run the browser in headless mode without a UI. Default is usually false in development, but depends on your needs.
  • slow_mo (string): Add a delay between each action (e.g., "500ms", "1s"). Useful for debugging or humanizing interactions.
  • timeout (string): Global timeout for the script execution (e.g., "60s", "5m").
  • output (string): Directory path to save screenshots, scraped data, or logs.
  • browsers (array): List of browsers to run the script on (chromium, firefox, webkit).
  • humanize (boolean): Automatically simulate human behavior such as random mouse movements and delays.
  • errorIfCaptcha (boolean): Stop script execution if a CAPTCHA is detected.

Clone this wiki locally