Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] Remote Playwright Instances #737

Open
mschfh opened this issue Oct 4, 2024 · 1 comment
Open

[Feat] Remote Playwright Instances #737

mschfh opened this issue Oct 4, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@mschfh
Copy link

mschfh commented Oct 4, 2024

Problem Description
Firecrawl lacks support for connecting to remote playwright instances via CDP.

Proposed Feature
Implement support for remote Playwright connections over CDP (Chrome DevTools Protocol) to external browser instances.

Implementation Suggestions

  • add an env var to configure a CDP endpoint
  • use the CDP endpoint instead of launching a local browser

Use Case

  • Use Bright Data scraping browser or Zenrows to circumvent captchas, bot detection and other restrictions.

Additional Context

@nickscamara nickscamara added the enhancement New feature or request label Oct 4, 2024
@mschfh
Copy link
Author

mschfh commented Oct 6, 2024

@nickscamara Would you accept a PR for playwright-service that uses playwright.chromium.connect_over_cdp() instead of playwright.chromium.launch() if REMOTE_CDP_URL is configured?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants