Skip to main content

PlaywrightCrawler

crawlee.playwright_crawler.playwright_crawler.PlaywrightCrawler

A crawler that fetches the request URL using Playwright.

Index

Constructors

Constructors

__init__

  • __init__(browser_pool, browser_type, headless, kwargs): None
  • Create a new instance.


    Parameters

    • browser_pool: BrowserPool | None = None
    • browser_type: Literal['chromium', 'firefox', 'webkit'] | None = None
    • headless: bool | None = None
    • kwargs: Unpack[BasicCrawlerOptions[PlaywrightCrawlingContext]]

    Returns None