I've loaded custom fonts from Google fonts - but invoking via Worker, might be different via API
I've loaded custom fonts from Google fonts - but invoking via Worker, might be different via API
997a23bf1a81339e\n\nPerforman


addStyleTag to customize. see example here https://developers.cloudflare.com/browser-rendering/rest-api/screenshot-endpoint/#customize-css-and-embed-custom-javascript
keep_alive , eg const browser = await puppeteer.launch(env.MYBROWSER, { keep_alive: 600000 }); to keep the browser alive for 10 minutes, and then, in order to get a valid sessionId, they need to call https://developers.cloudflare.com/browser-rendering/platform/puppeteer/#list-open-sessions . 
status in response, instead the response just display success: true/false, while I was expecting the response status: 2xx, 4xx etc retuned by given URL. As it always says success: true, even for 404 link as well


Download.createReadStream() API?addStyleTag as well as an embedded stylesheet in the HTML with font as an allowed resource type, neither workscreenshot_options instead of screenshotOptions
await puppeteer.launch(env.BROWSER) so it shouldn't even be trying to connect to an existing session.
cacheTTL parameter doesn't seem to work. The request still gets cached, and I keep getting the same response even after waiting for a few minutes. Can someone look into this?Not Found. response. I have Workers Paid and have tried both an Account API Token and User API Token with Edit access to the Browser Rendering perm. Any ideas to try?{
"url": "https://www.bbc.com/",
"screenshot_options": {"full_page" : true , "type":"webp" }
}{
"url": "https://www.bbc.com/",
"full_page" : true ,
"type":"webp" }
}{
"errors": [
{
"code": "unrecognized_keys",
"keys": [
"screenshot_options"
],
"path": [
"body"
],
"message": "Unrecognized key(s) in object: 'screenshot_options'"
}
],
"success": false,
"result": {}
}997a23bf1a81339eaddStyleTagaddStyleTagkeep_aliveconst browser = await puppeteer.launch(env.MYBROWSER, { keep_alive: 600000 });sessionIdhttps://developers.cloudflare.com/browser-rendering/platform/puppeteer/#list-open-sessionsstatussuccess: true/falseDownload.createReadStream()font {
"sessionId": "31ab6f51-4628-41e0-bf91-477cb48fda4a",
"startTime": 1762969852952,
"endTime": 1762969856860,
"closeReason": 12,
"closeReasonText": "UsedBrowserTimeLimitExceeded"
}31ab6f51-4628-41e0-bf91-477cb48fda4a
Dec 31, 1969 5:00:00 PM
Nov 12, 2025 10:50:56 AM{
"success": false,
"errors": [
{
"message": "Unable to form JSON based on user prompt and/or webpage text. Please try with a different prompt try passing a response_format."
}
]
}