Skip to content

docs: document Playwright browser plugin extensions - #2089

Merged
vdusek merged 1 commit into
apify:masterfrom
shixi-li:docs/browser-plugin-extensions
Jul 27, 2026
Merged

docs: document Playwright browser plugin extensions#2089
vdusek merged 1 commit into
apify:masterfrom
shixi-li:docs/browser-plugin-extensions

Conversation

@shixi-li

Copy link
Copy Markdown
Contributor

Description

The Playwright crawler guide linked a custom implementation without explaining the extension contract, making it unclear when configuration is sufficient and when a different launch API needs a plugin subclass.

  • distinguish built-in configuration from custom browser launch integrations
  • document the new_browser() controller contract and BrowserPool lifecycle responsibilities
  • call out context, incognito, page-limit, fingerprint, header, and user-data behavior that custom integrations must preserve or replace
  • link the existing Camoufox implementation as a complete example

Issues

Refs #1936

Testing

  • uv run --locked poe lint
  • cd website && corepack pnpm@11.15.1 format:check
  • cd website && corepack pnpm@11.15.1 lint:code
  • cd website && corepack pnpm@11.15.1 lint:md
  • cd website && uv run --locked corepack pnpm@11.15.1 build

Checklist

  • CI passed

@vdusek vdusek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you

@vdusek
vdusek merged commit 1e23b46 into apify:master Jul 27, 2026
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants