#Is the Playwright Firefox Docker image usable with PlaywrightCrawler?
1 messages · Page 1 of 1 (latest)
Please see this run for details of the errors I am getting: T7zTFW0HXDl8gYdAh
Hi, I have never seen this error, so I am not sure what you are doing wrong but to use firefox with playwright on apify platform you need:
-
change dockerfile line to
FROM apify/actor-node-playwright-firefox:16 -
and in the code
import { firefox } from 'playwright'
and in crawler options
launchContext:
{
//useChrome:true,
launcher:playwright.firefox,
},
hope this helps