Skip to main content
By the end of this walkthrough you will have a live RadMD sandbox, a username and password minted for it, and a Playwright script that logs in and lands on the authenticated dashboard. No environment or benchmark required.

Prerequisites

  • An organization API key. Create one in your organization’s dashboard under API Keys. Keys are prefixed vrl_ and sent as Authorization: Bearer <key>.
  • Node.js 20+ (for the Playwright example). Python users can adapt the snippet to playwright for Python.

1. Create a Web Simulator

Create a simulator with type: "Payer" and pick a portal slug from the catalog (radmd or covermymeds).
Response:

2. Create a Sandbox

Provision a live instance from the simulator. Verial mints a fresh username + password bound to this sandbox.

3. Read the Credentials

Fetch the sandbox to pull the portal URL and login.
Response (truncated):

4. Log In with Playwright

Run it:
The page will land on the portal’s authenticated landing route. From here your agent can drive the rest of the workflow (patient search, prior auth submission, etc.) using the same DOM selectors as the real vendor portal.

5. Verify State via the API

Any action taken in the browser updates sandbox state. Read it back through the REST API at the api_url from step 3, using your organization API key:

6. Tear Down

The username and password are invalidated immediately; interaction events persist.

Next Steps

Web Portal Catalog

The supported portals and their config options.

Benchmarks

Compose web simulators into scored benchmarks.