Skip to content
Discussion options

You must be logged in to vote

@LinXin04 Regarding Python version, I suggest 3.10 and above, although its tested on 3.9 as well. However this message indicates that your current OS environment does not meet Playwright’s officially supported requirements. It’s not an issue with the code itself but rather with missing dependencies on your system or Docker image.

Try running:

playwright install-deps

or install the recommended packages:

apt-get install libatk-bridge2.0-0 libxkbcommon0 libatspi2.0-0

If you’re building a Docker image, add these dependencies to your Dockerfile’s build steps. Also consider using a newer Ubuntu base image so Playwright can run its browsers without fallback builds.

Once you have these dependen…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by aravindkarnam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug Something isn't working
2 participants
Converted from issue

This discussion was converted from issue #334 on January 31, 2025 18:22.