We’re shipping three updates to Browser Rendering:
- Playwright support is now Generally Available and synced with Playwright v1.55, giving you a stable foundation for critical automation and AI-agent workflows.
- We’re also adding Stagehand support (Beta) so you can combine code with natural language instructions to build more resilient automations.
- Finally, we’ve tripled limits for paid plans across both the REST API and Workers Bindings to help you scale.
To get started with Stagehand, refer to the Stagehand example that uses Stagehand and Workers AI to search for a movie on this example movie directory, extract its details using natural language (title, year, rating, duration, and genre), and return the information along with a screenshot of the webpage.
const stagehand = new Stagehand({ env: "LOCAL", localBrowserLaunchOptions: { cdpUrl: endpointURLString(env.BROWSER) }, llmClient: new WorkersAIClient(env.AI), verbose: 1,});
await stagehand.init();const page = stagehand.page;
await page.goto('https://demo.playwright.dev/movies');
// if search is a multi-step action, stagehand will return an array of actions it needs to act onconst actions = await page.observe('Search for "Furiosa"');for (const action of actions) await page.act(action);
await page.act('Click the search result');
// normal playwright functions work as expectedawait page.waitForSelector('.info-wrapper .cast');
let movieInfo = await page.extract({ instruction: 'Extract movie information', schema: z.object({ title: z.string(), year: z.number(), rating: z.number(), genres: z.array(z.string()), duration: z.number().describe("Duration in minutes"), }),});
await stagehand.close();
Source: Cloudflare
Latest Posts
- Export Viva Engage admin settings from Engage Admin Center [MC1218450]
![Export Viva Engage admin settings from Engage Admin Center [MC1218450] 2 pexels pixabay 56890](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Microsoft Teams: Interpreter agent support in Teams rooms on Windows [MC1188221]
![(Updated) Microsoft Teams: Interpreter agent support in Teams rooms on Windows [MC1188221] 3 pexels eye4dtail 216798](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Microsoft 365 Copilot: Content Sources in Copilot Chat [MC1127230]
![(Updated) Microsoft 365 Copilot: Content Sources in Copilot Chat [MC1127230] 4 pexels edward jenner 4253062](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Create custom templates for immersive events in Microsoft Teams [MC1218415]
![Create custom templates for immersive events in Microsoft Teams [MC1218415] 5 pexels mikebirdy 381228](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)

![Export Viva Engage admin settings from Engage Admin Center [MC1218450] 2 pexels pixabay 56890](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-pixabay-56890-150x150.webp)
![(Updated) Microsoft Teams: Interpreter agent support in Teams rooms on Windows [MC1188221] 3 pexels eye4dtail 216798](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-eye4dtail-216798-150x150.webp)
![(Updated) Microsoft 365 Copilot: Content Sources in Copilot Chat [MC1127230] 4 pexels edward jenner 4253062](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-edward-jenner-4253062-150x150.webp)
![Create custom templates for immersive events in Microsoft Teams [MC1218415] 5 pexels mikebirdy 381228](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-mikebirdy-381228-150x150.webp)
