Browser Capability & Authentication Profiles
UWS supports two distinct inert browser profile families alongside Registration Authoring:
- Browser Capability Profiles (
uws.browser.1.5–1.10) — bound from UWS operations viasourceDescriptions[].type: browser-profileandsourceOperationId/sourceOperationRef. - Browser Authentication Profiles (
uws.browser-authentication.1.0/1.1) — separate, secret-free sign-in recipes paired with theuws.browser-authentication-call.1.1operation supplement (x-uws-browser-authenticationandx-uws-browser-session).
Both families are inert metadata contracts. Browser drivers, cookies, session handles, credentials, and execution protocols (WebDriver, WebDriver BiDi, CDP, Playwright, Puppeteer) remain runtime-private. When a provider publishes an API or event contract (openapi, asyncapi, etc.), prefer that contract over browser-profile.
Browser Capability Profiles (1.5–1.10)
Current opt-in version: versions/browser.1.10.md (versions/browser.1.10.json). Empty profile schema lookup retains uws.browser.1.8 as its compatibility default; consumers select 1.9 or 1.10 explicitly. Earlier 1.5–1.9 profiles remain immutable and accepted.
Core Model & Closed Action Vocabulary
Every capability profile declares profile, info (title, origin allowlist, optional loginStateRequired), observationKind (accessibility_snapshot, dom_text, screenshot_ocr, other), evidence, confidence, expiresAfter, verification, and actions.
- Locators are accessibility-tree first (
role, accessiblename, optionalvalue/textmatching). CSS, XPath, and raw coordinates are forbidden as locators. - Closed 7-action vocabulary:
navigate,click,type_text,check_radio,uncheck,select_option, andwait_for. - Safety metadata: every action declares non-empty
sideEffects(read_only, or state-changing labels such asstate_change,sends_email,creates_record,updates_record,deletes_resource) andconfirmationPolicy(required: truefor any side-effectful action).
Capabilities Added Since browser.1.5
| Version | Key Additions |
|---|---|
browser.1.6 |
Optional bounded contexts graph (popup and frame targets, implicit main, max depth 4, exact origin checks, opensContext on click). |
browser.1.7 |
Locale-free typed scalar conversions for accessibility outputs (string, integer, number, boolean); presence remains Boolean without text access. |
browser.1.8 |
Single-pass {{name}} scalar parameter templates in navigate path/query values (RFC 3986 component-encoded), type_text.value, select_option.value, and confirmationPolicy.prompt. Compatibility default for empty profile lookup. |
browser.1.9 |
Literal-brace escapes ({{{{ → {{, }}}} → }}), Cc/line-separator/bidi control-character rejection in type_text.value and prompts, value-setting type_text without synthesized keyboard/Enter/submit events, and safe-integer bounds (-9007199254740991..9007199254740991). |
browser.1.10 |
Opt-in CSS match-count outputs (matchCount: true, optional unique within root, visibility: all | rendered) returning exact nonnegative safe integers; CSS stays output-only and never becomes a locator. |
Minimal uws.browser.1.10 Example
profile: uws.browser.1.10
info:
title: Issue Tracker
origin: https://tracker.example.test
loginStateRequired: true
observationKind: accessibility_snapshot
evidence:
learnedAt: "2026-09-25T00:00:00Z"
source: reviewed_browser_session
confidence: high
expiresAfter: P30D
verification:
lastVerifiedAt: "2026-09-25T00:00:00Z"
successfulRuns: 1
actions:
count_open_items:
description: Count rendered open items inside the results panel.
parameters:
type: object
required: [filter]
properties:
filter: { type: string }
sequence:
- navigate: "/issues?q={{filter}}"
- wait_for: { role: region, name: "Results" }
outputs:
open_count:
type: integer
source: css
selector: ".issue-row"
within: "#results-panel"
matchCount: true
visibility: rendered
fallbackReason: no_a11y_region
validation:
type: integer
minimum: 0
sideEffects: [read_only]
confirmationPolicy:
required: false
See testdata/browser-profile/count-outputs-1.10.yaml for the complete synthetic fixture.
Browser Authentication Profiles (1.1)
versions/browser-authentication.1.1.md and versions/browser-authentication-call.1.1.md define inert sign-in recipes and operation-extension bindings without embedding secrets, cookies, or session handles:
- Profile structure: declares
applicationOriginsandauthenticationOrigins(exact HTTPS origins; HTTP permitted only on loopback fixtures), optionalcontexts(popup/frame), symboliccredentialSlots(identifier,password,totp_seed), andflows. - Closed 5-step vocabulary:
navigate,type_credential,click,challenge(push,push_number_match,totp,sms_otp,email_otp,voice_otp,passkey,security_key), andwait_for. Every flow declaresestablishes_session(plussends_mfa_challengewhen a challenge step is present) and a verifiedsuccessorigin/locator check. - UWS workflow hook: operations bind authentication recipes and named sessions via
x-uws-browser-authenticationandx-uws-browser-sessionunder the call supplement. - Scope limits: sign-in only; enrollment, password reset, logout, account creation, and CAPTCHA bypass are out of scope (unknown challenges and CAPTCHAs fail closed).