Playwright & E2E Staging URLs with AgentDomains
Run headless Playwright, Cypress, and visual regression suites against real HTTPS staging URLs provisioned per CI job.
Service workers, clipboard APIs, WebCrypto, and Secure cookies only behave realistically on HTTPS origins — not plain http://localhost.
1. 3-Stage Sequence Diagram
3-stage sequence: AI agent claims e2e-stage.makes.fyi, maps it to e2e-stage.fly.dev, and verifies HTTPS 200 OK.
2. 4-Step MCP Tool-Call Transcript
Your agent sends these exact calls to https://mcp.agentdomains.co or local stdio.
{
"tool": "check_availability",
"arguments": {
"label": "e2e-stage",
"domain": "makes.fyi"
}
}
// Response:
{
"fqdn": "e2e-stage.makes.fyi",
"available": true,
"reason": "available"
}
{
"tool": "claim_domain",
"arguments": {
"label": "e2e-stage",
"domain": "makes.fyi",
"email": "ops@example.com"
}
}
// Response:
{
"fqdn": "e2e-stage.makes.fyi",
"status": "claimed",
"confirm_within_days": 30
}
{
"tool": "set_proxy",
"arguments": {
"label": "e2e-stage",
"domain": "makes.fyi",
"origin": "e2e-stage.fly.dev"
}
}
// Response:
{
"ok": true,
"fqdn": "e2e-stage.makes.fyi",
"origin": "e2e-stage.fly.dev",
"https": "https://e2e-stage.makes.fyi"
}
curl -fsSI https://e2e-stage.makes.fyi
# HTTP/2 200
# content-type: application/json
# strict-transport-security: max-age=31536000
3. Clean Teardown (GitHub Action & CLI)
Always invoke agentdomains delete in a CI if: always() cleanup step. Delete the DNS mapping before you destroy your cloud server to block dangling takeovers.
name: Teardown e2e-stage
on:
workflow_dispatch:
pull_request:
types: [closed]
jobs:
cleanup:
runs-on: ubuntu-latest
steps:
- name: Delete AgentDomains hostname before destroying compute
env:
AGENTDOMAINS_API_KEY: ${{ secrets.AGENTDOMAINS_API_KEY }}
run: |
curl -fsSL -X DELETE \
-H "Authorization: Bearer $AGENTDOMAINS_API_KEY" \
"https://api.agentdomains.co/v1/subdomains/e2e-stage"
# Or with the Go CLI:
# agentdomains delete e2e-stage
More Workflow Blueprints
Autonomous AI Agent Deployments
Let coding agents claim a live HTTPS hostname right after deploy. No dashboard clicks and no credit card.
Vibe CodingVibe-Coding Live Demos
Turn any Cursor, Windsurf, or Bolt.new build into a short *.makes.fyi URL in 15 seconds.
Stripe Webhook Testing
Give Stripe webhooks a valid HTTPS URL with edge TLS and untouched raw POST bodies for signature checks.
Auth & IdentityOAuth 2.0 Callback URLs
Register stable HTTPS redirect URIs (https://oauth-stage.agentdomains.co/auth/callback) for Google, GitHub, Discord, and Slack OAuth apps.
Claim your agent domain now
Start with 10 free HTTPS domains under agentdomains.co or makes.fyi for 30 days. Upgrade to Pro for $10/year to keep up to 100 names with visitor stats.