Skip to content

Seeders

The Action Seeder allows you to perform browser actions at the start of the scan.

This seeder will execute a series of browser actions (clicks, fills, screenshots, etc.) before the actual scan begins. This is useful for setting up the application state, authenticating users, or preparing the page for testing.

The main difference between this and other seeders is that these actions are bound to a custom security check. If you disable a check, the seeded actions will not be executed.

Example

seed:
  - protocol: frontend
    actions:
      - action: goto
        url: https://example.com/login
      - action: fill
        locator: input[name="username"]
        value: admin@example.com
      - action: fill
        locator: input[name="password"]
        value: password123
      - action: click
        locator: button[type="submit"]
      - action: screenshot
      - action: execute_js
        code: localStorage.setItem("debug", "true");
      - action: set_storage
        kind: local
        key: auth_token
        value: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
      - action: set_headers
        headers:
          Authorization: "Bearer token123"
          X-Custom-Header: "value"