Skip to content
Discussion options

You must be logged in to vote

I found the answer:

Add Playwright and its dependencies to the docker file:

RUN pip install playwright==1.42.0 && \
    playwright install --with-deps

RUN apt-get update && apt-get install -y \
    gconf-service \
    libasound2 \
    libatk1.0-0 \
    libcairo2 \
    libcups2 \
    libfontconfig1 \
    libgdk-pixbuf2.0-0 \
    libgtk-3-0 \
    libnspr4 \
    libpango-1.0-0 \
    libxss1 \
    fonts-liberation \
    libappindicator1 \
    libnss3 \
    lsb-release \
    xdg-utils

For some reason, running playwright install --with-deps only, without the rest, gives me a buggy performance. Not all messages are sent. But with the apt-get for the dependencies, it runs fine.

and, in the crea…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@3mora2
Comment options

Answer selected by rubslopes
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@3mora2
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation
2 participants