BRAPI-1010: Add experimental headful browser rendering support to wrangler / vite plugin#13011
BRAPI-1010: Add experimental headful browser rendering support to wrangler / vite plugin#13011petebacondarwin merged 2 commits intomainfrom
Conversation
🦋 Changeset detectedLatest commit: 32aecd5 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
✅ All changesets look good |
|
The review has been posted successfully on PR #13011. Here's a summary of what I found: Two actionable issues identified:
The rest of the implementation (data flow through 9 files, changeset format, types, schema) looks correct and well-structured. |
82b08a0 to
be2a86a
Compare
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
wrangler
commit: |
5640d08 to
7aa6669
Compare
…ngler / vite plugin
7aa6669 to
1935457
Compare
|
Codeowners approval required for this PR:
Show detailed file reviewers |
Fixes BRAPI-1010
Add support for running Chrome in headful (visible) mode when using the Browser Rendering API locally. This is useful for debugging browser automation scripts during development.
Enable via environment variable:
Note: When using @cloudflare/playwright, two Chrome windows may appear. This is expected behavior due to how Playwright handles browser contexts via CDP.
Tests included/updated
Automated tests not possible - manual testing has been completed as follows:
copy the following example to a local environment:
https://github.com/cloudflare/puppeteer/tree/dev-headful-example/packages/puppeteer-cloudflare/examples/headful-example
follow the instructions on README.md to run using vite and wrangler, both with and without headful browser
Additional testing not necessary because:
A picture of a cute animal (not mandatory, but encouraged)