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
- Amazon EC2 network/EBS instances now available in additional regions

- Amazon EC2 G7 instances are now available in the AWS US East (N. Virginia) Region

- AWS Organizations now applies account departure security controls by default for new organizations created via AWS Organizations console

- Amazon EC2 now supports using an EBS volume for Replace Root Volume






