Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,28 @@ compatibility_flags = [ "nodejs_compat" ]
browser = { binding = "MYBROWSER" }
```

## CDP Protocol Support

[Browser Run now has full CDP support](https://developers.cloudflare.com/changelog/post/2026-04-10-browser-rendering-cdp-endpoint/),
so starting with `@cloudflare/playwright` version 1.3.0, the library uses the
standard CDP (Chrome DevTools Protocol) internally to communicate with Browser
Run.

Everything should work the same way, but if you encounter any issues, please
[report them](https://github.com/cloudflare/playwright/issues). You can also
downgrade to a previous playwright version by using `compatibility_date` prior to
`2026-03-17` or by adding the `no_websocket_standard_binary_type` flag:

```toml
compatibility_date = "2026-03-16"
# or
compatibility_flags = ["nodejs_compat", "no_websocket_standard_binary_type", ...]
```

See [cloudflare/puppeteer#193](https://github.com/cloudflare/puppeteer/issues/193)
and [cloudflare/workerd#6442](https://github.com/cloudflare/workerd/issues/6442)
for details.

## Example

You can find a full running example here [Cloudflare Playwright running example](https://github.com/cloudflare/playwright/tree/main/packages/playwright-cloudflare/examples/todomvc)
Expand Down
Loading