QIN2DIM / undetected-playwright

You know who I am
Apache License 2.0
162 stars 29 forks source link

Headed mode inside Docker Container #13

Open PeriniM opened 3 months ago

PeriniM commented 3 months ago

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

alternativshik commented 1 day ago

add xserver to docker container or or use 'xvfb-run '