Skip to content

wb-browser-runtime 0.9.0

Choose a tag to compare

@j-paracord j-paracord released this 23 Apr 15:41
· 86 commits to main since this release

New announce_artifact verb + BROWSER_USE_PROFILE_ID env default. Pairs with wb v0.11.0 to surface labelled artifacts on the run-page timeline.

What's new

  • announce_artifact: verb — writes a <path>.meta.json sidecar alongside an artifact in $WB_ARTIFACTS_DIR. The next Artifacts::sync() (shipped in wb v0.11.0) attaches {label, description} to the step.artifact_saved callback event so orchestrators render "📄 April HSBC statement" instead of "statement.csv" in the timeline.

    - save:
        path: statement.csv
    - announce_artifact:
        path: statement.csv
        label: "April HSBC statement"
        description: "Reconciled balance export"

    Target artifact need not exist yet — pre-writing the sidecar is allowed. Path is validated to stay inside $WB_ARTIFACTS_DIR. Atomic write via tmp + rename.

  • BROWSER_USE_PROFILE_ID env default — browser blocks that omit profile_id: now fall back to the BROWSER_USE_PROFILE_ID environment variable. A per-runbook profile_id: always wins over the env var.

Registry

SUPPORTS bumped to 13 verbs: goto, fill, click, press, wait_for, screenshot, extract, assert, eval, save, pause_for_human, wait_for_drop, announce_artifact.

Pairing

Requires wb v0.11.0 or later to see step.artifact_saved callbacks with the sidecar-supplied label/description. Older wb versions ignore the sidecar.

Full Changelog: browser-runtime-v0.8.0...browser-runtime-v0.9.0