---
id: playwright-crawler-firefox
title: Using Firefox browser with Playwright crawler
---
import RunnableCodeBlock from '@site/src/components/RunnableCodeBlock';
import ApiLink from '@site/src/components/ApiLink';
import PlaywrightFirefoxSource from '!!raw-loader!roa-loader!./playwright_crawler_firefox.ts';
This example demonstrates how to use `PlaywrightCrawler` with headless Firefox browser.
:::tip
To run this example on the Apify Platform, select the `apify/actor-node-playwright-firefox` image for your Dockerfile.
:::
{PlaywrightFirefoxSource}
To see a real-world example of how to use `PlaywrightCrawler` in combination with `RequestQueue` to recursively scrape the [Hacker News website](https://news.ycombinator.com) check out the [`Playwright crawler example`](./playwright-crawler).