How can I deploy Playwright Python script on Heroku?
How can I deploy Playwright Python script on Heroku?
At a glance
The community member is trying to deploy their Python code on Heroku and is encountering a missing dependencies error to run browsers. They have tried installing the dependencies using playwright install-deps and apt-get install commands, but the issue persists on Heroku. The community members suggest that Heroku may not support Playwright installation and running, and that the community member may need to set up a server for deployment. Some community members provide links to Heroku documentation for Node.js, but the community member is unable to find similar documentation for Python. There is no explicitly marked answer in the comments.
I am trying to deploy my code on Heroku. using : python3
getting this error on Heroku console. ╔══════════════════════════════════════════════════════╗ ║ Host system is missing dependencies to run browsers. ║ ║ Please install them with the following command: ║ ║ ║ ║ sudo playwright install-deps ║ ║ ║ ║ Alternatively, use apt: ║ ║ sudo apt-get install libatk1.0-0\ ║ ║ libatk-bridge2.0-0\ ║ . . .