[BUG] Request interception on every page leaves Figma's WebGL prototype viewer black
Describe the bug
Figma's prototype viewer (figma.com/proto/…) never draws in a tab Steel manages. The page's UI loads, but its WebGL canvas stays black. The cause is the request interception CDPService turns on for every page target (api/src/services/cdp/cdp.service.ts:408 at dacea7e):
await page.setRequestInterception(true);
page.on("request", (request) => this.handlePageRequest(request, page));With those two lines removed from build/services/cdp/cdp.service.js, the same page draws in Steel's own tab. #335 ("only claim request interception when a blocking feature is on") looks like exactly the fix, but it was closed unmerged. Could it be reconsidered? Or, if interception has to stay on even when no blocking feature is requested, could there be a supported setting to turn it off?
To Reproduce
- Run
ghcr.io/steel-dev/steel-browser-api@sha256:e4574b4c6b2e89e5031b187c24ee2cb4b5db447518c75b4f49a9bdfe37301845(built fromdacea7e). POST /v1/sessions, with the defaults and also withskipFingerprintInjection: true, blockAds: false.- Connect over CDP, open a Figma prototype link in the session's page, and wait 30 s.
- The canvas is still black.
What we ruled out, each run on arm64 and amd64:
| Change | Steel's tab |
|---|---|
| Interception lines removed | draws |
| The same browser's extra tab that Steel never configures (Chrome for Testing reopens previous tabs at start) | draws |
--disable-gpu kept or filtered out |
no effect; draws once interception is gone |
| Fingerprint injection on or off | no effect; draws once interception is gone |
blockAds: false with interception on |
still black |
Network.setCacheDisabled or a plain Fetch.enable from another CDP session, on the extra tab |
still draws |
Expected behavior
The page draws in Steel's tab as it does in a tab Steel hasn't configured.
Environment
- Docker Desktop on macOS, with
linux/arm64andlinux/amd64containers - Headless
- Debian Chromium 153.0.8010.52, and Chrome for Testing 153.0.8010.12 through
CHROME_EXECUTABLE_PATH
Source: steel-dev/steel-browser