Browser Automation Quickstart

Walk through a complete TED eProcurement form-filling scenario using Pauhu Browser Automation.

Prerequisites

1 Install the Browser Extension

The Pauhu browser extension adds an automation sidebar to your browser. It handles screenshot capture, action overlays, and session management.

BrowserInstall link
ChromeChrome Web Store (coming soon)
FirefoxFirefox Add-ons (coming soon)

After installation, the Pauhu icon appears in your browser toolbar.

2 Connect Your API Key

  1. Click the Pauhu icon in your browser toolbar and select Settings.
  2. Paste your API key (pk_*) into the key field.
  3. Select your target domain:
    • pauhu.ai - for testing
    • pauhu.eu - production
  4. Click Connect.

A green indicator next to the icon confirms a successful connection.

3 Start an Automation Session

  1. Navigate to ted.europa.eu.
  2. Click the Pauhu icon in your browser toolbar.
  3. In the task field, describe what you need. For example:
    Fill procurement notice form for IT consulting services, estimated value EUR 150,000, open procedure
  4. Click Start Session.

The automation sidebar opens on the right side of your browser, showing session progress and a live action log.

4 Watch the Automation Navigate

The system operates in a screenshot-plan-confirm loop:

  1. Screenshot - The system captures the current page state.
  2. Plan - It identifies the next action (e.g., “Create notice” button) and shows a blue crosshair overlay at the planned click target.
  3. Confirm - You review the plan and click Confirm (or press Enter) to approve it.
  4. Execute - The system performs the click.
  5. Repeat - The cycle starts again with a new screenshot.
Human-in-the-loop: The system never executes an action without your explicit confirmation. You remain in control at every step.

5 Automated Form Filling

When the system encounters a form field, the flow changes slightly:

  1. Identify - The system highlights the target field (e.g., “Procedure type”).
  2. Determine value - It selects the appropriate value based on your task description.
  3. Preview - A purple overlay shows the planned input above the field.
  4. Confirm or edit - You can accept the value as-is or modify it before confirming.
  5. Input - The system types or selects the value in the field.

This process repeats for every field in the procurement form - CPV codes, contracting authority details, procedure type, estimated value, deadlines, and more.

6 Review Before Submission

When the system reaches the submission step, it pauses and displays a confirmation modal:

ColumnDescription
Field labelThe name of each form field
Current valueThe value that will be submitted
RequiredWhether the field is mandatory

You have three options:

No silent submissions. The system will never submit a form without showing you the complete field summary first.

7 Verify the Result

After submission:

  1. The system takes a final screenshot of the confirmation page.
  2. The session panel displays all completed steps with green checkmarks.
  3. Use the Replay Viewer to step through the entire session screenshot-by-screenshot.
  4. If something went wrong, click Rollback to revert to a previous step and resume from there.

8 Stop the Session

End the automation session in any of these ways:

Session data (screenshots, action log, field values) is retained for 30 days for replay and audit purposes.

curl Example (API-only, no extension)

You can also drive Browser Automation sessions programmatically without the browser extension.

Start a browser automation session

POST /v1/cua/start

curl -X POST https://pauhu.eu/v1/cua/start \
  -H "Authorization: Bearer pk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "portal": "ted.europa.eu",
    "task": "Fill procurement notice for IT consulting"
  }'

Listen to the SSE stream

GET /v1/cua/stream

curl -N https://pauhu.eu/v1/cua/stream?session=cua_abc123 \
  -H "Authorization: Bearer pk_your_api_key"

Confirm an action

POST /v1/cua/confirm

curl -X POST https://pauhu.eu/v1/cua/confirm \
  -H "Authorization: Bearer pk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "session_id": "cua_abc123",
    "action_id": "act_001",
    "approved": true
  }'

Next Steps

Questions? Contact us at support@pauhu.eu or visit the API dashboard to manage your keys.