undetected-playwright icon indicating copy to clipboard operation
undetected-playwright copied to clipboard

Headed mode inside Docker Container

Open PeriniM opened this issue 8 months ago • 1 comments

Hey, I have installed the library inside this docker container and when I try to run playwright in headed mode I get the following error:

Looks like you launched a headed browser without having a XServer running.
Set either 'headless: true' or use 'xvfb-run <your-playwright-app>' before running Playwright.

I know the container is not connected to any display, is there a workaround with this library? Thanks

Current OS: Windows 11

PeriniM avatar May 28 '24 14:05 PeriniM