
acquireing a dedicated browser for each agent session.routeAgentRequest . I'm afraid that my agents are all referencing the same env.BROWSER (but separate contexts)style tags via the REST API that I'm not seeing or is that not an option? If not, is it on the roadmap?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 work {
"sessionId": "31ab6f51-4628-41e0-bf91-477cb48fda4a",
"startTime": 1762969852952,
"endTime": 1762969856860,
"closeReason": 12,
"closeReasonText": "UsedBrowserTimeLimitExceeded"
}{
"errors": [
{
"code": "unrecognized_keys",
"keys": [
"screenshot_options"
],
"path": [
"body"
],
"message": "Unrecognized key(s) in object: 'screenshot_options'"
}
],
"success": false,
"result": {}
}{
"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."
}
]
}{
"url": "https://www.bbc.com/",
"screenshot_options": {"full_page" : true , "type":"webp" }
}{
"url": "https://www.bbc.com/",
"full_page" : true ,
"type":"webp" }
}