Example: Difficult JS page¶
When HTTP returns empty or thin content for a client-rendered SPA, force the browser backend.
{
"name": "occam_transcode",
"arguments": {
"url": "https://app.example.com/docs/getting-started",
"backend_policy": "browser"
}
}
When to escalate¶
- Default first: omit
backend_policy(useshttp_then_browser— HTTP first, browser when HTTP is unusable). - Known SPA: set
backend_policy=browserwhen you already know HTTP will not render the app shell. - Login wall: add
session_profileand keepbrowser— see Session profile.
Expected¶
ok: truewith non-emptymarkdownwhen the page renders in Chromium.thin_extractor empty body onhttpalone — not a bug; signal to use browser.
Occam does not solve CAPTCHAs. Sessions carry your authenticated state only.