-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Support CentOS #9199
Comments
Fyi, I have got chromium and firefox working on CentOS 8 and created a dockerfile here https://github.com/kumaraditya303/playwright-centos/blob/master/Dockerfile only WebKit is not working. |
Awesome but, i was expecting OOTB support for the same. |
GLIBC_2.18 ticket for chromium https://bugs.chromium.org/p/chromium/issues/detail?id=1253967&q=glibc&can=2 |
+1 , we would like using Playwright on our production server, it runs CentOS 8 |
+1 as well |
+1 on this request |
+1 as well |
Seems like Chromium has a fix according to this comment: https://bugs.chromium.org/p/chromium/issues/detail?id=1261617#c49 |
+1 |
1 similar comment
+1 |
+1 |
+10 |
For the record: only issue upvoting counts as a vote |
+10 |
+1 |
What version(s) should we revert to for CentOS support? We were previously using |
@rinogo I think you may be confused between the versioning of https://github.com/elastic/synthetics which uses |
Thanks for your feedback, @andrewvc ! I was referring to this; maybe I'm misunderstanding, though! Regardless, our environment is unfortunately not containerized, so switching platforms is a lot more challenging. Hoping something can come of this for us and the community - lots of legacy CentOS-hosted apps are still out there! If I find some other kind of workaround, I'll post back here. |
+1 |
++1 |
+1 |
+1 |
+1 CentoOS support needed for our CI |
+1 |
1 similar comment
+1 |
+1 for centos |
+1 |
1 similar comment
+1 |
Hey everybody! There's now an experimental support for all linux distributions using our browser container image Please give it a try and let us know what you think here: #26482 |
+1 |
1 similar comment
+1 |
+1 |
Managed to run playwright 1.39.0 on CentOs 7 with firefox browser by building glibc-2.28 from sources, patchelf and adding some missing libraries. Guess its some kind of driver issue. |
Heads up, since the solution quoted in here installs a static version, turns out we could make playwright with chromium work without a problem on our Rocky8 servers with a simplification of @kumaraditya303 fantastic answer! This command replaces playwright install-deps .
|
To add to @Knowledge-Labz answer, I had to also install dbus-glib in order for Firefox to work (on Fedora). |
This works for an Amazon Linux 2 image on AWS (with yum package manager instead of dnf). |
I tried running my |
真是可惜官方不支持Cent OS,虽然网上有一些魔法可以使用,但也多多少少有些问题。 注意:不要使用docker pull mcr.microsoft.com/playwright/python:v1.40.0-jammy |
我一直不能在docker 里面运行,不知道为什么。 |
I was having issues with using playwright on aws lambda inside a centos python docker image, was able to solve with the help of @kumaraditya303 using below dockerfile: |
+1 |
Folding into #26482 |
Edit by maintainers
Hey everybody!
There's now an experimental support for all linux distributions using our browser container image
mcr.microsoft.com/playwright
.If you can run this container image on your linux distribution, then you can instruct
@playwright/test
to connect to it and run browsers inside the container.Please give it a try and let us know what you think here: #26482
We have our CI machines setup on centos7.
I am trying to integrate in our integration tests which runs on jenkins on centos machines.
Able to run tests using chrome but facing issues with following browsers:
Chromium :
This issue was earlier reported on 1.
Edge :
Issue reported earlier on 2
Webkit:
Issue reported earlier on 3
As many organizations like ours uses centos machines as their infrastructure, this feature will have a wider impact and will help many developers.
Request playwright team to have a look at this request.
Thanks!!
The text was updated successfully, but these errors were encountered: