Open udit0802 opened 3 years ago
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. Linking https://github.com/microsoft/playwright/issues/6219
https://github.com/kumaraditya303/playwright-centos/blob/master/Dockerfile
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
+1 chromium-930007 ./chrome: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by ./chrome)
+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 ^1.9.2
successfully on our CentOS machine. When we updated to ^1.18.1
, we started having problems. I see that @vigneshshanmugam reverted to 1.14.0
. Will that enable us to use chrome
on CentOS?
@rinogo I think you may be confused between the versioning of https://github.com/elastic/synthetics which uses playwright
and this repo which is for the playwright project itself. We have resolved our issue by moving our base image to Ubuntu FWIW.
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 (Rocky Linux)
+1
+1
+1
+1
+1
+1 Wouldnt be bad to add support for the RedHat too 👍🏻
+1
+1
+1
+1
+1 CentOS!
+1 CentOS, Rhel ! The lack of support for these platforms is so frustrating :( Our CI/CD runs on RHEL and there's no way for us to change unfortunately.
I got Firefox and Chromium working in a UBI-based CI container image roughly as follows:
FROM mcr.microsoft.com/playwright/java:v1.31.0-focal as playwright
FROM registry.access.redhat.com/ubi8
RUN dnf update -y && \
dnf install -y \
libX11-xcb \
mesa-libGL \
mesa-libgbm \
pciutils-libs \
`# other stuff…` && \
dnf -y clean all
COPY --from=playwright --chown=1000:1000 /ms-playwright /ms-playwright
ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
USER 1000
Did not check WebKit, which might require additional libraries.
I am using Almalinux. I would be glad if you can support.
+1
@aslushnikov The recent move to node 18 broke centos 7 support. Was this intentional? See https://github.com/nodejs/node/issues/43246
@jasonparallel we never supported CentOS, so i'm not sure what broke exactly. The move to node 18 was since 18 is the current LTS.
+1
+1 CentoOS support needed for our CI
+1
+1
+1 for centos
+1
+1
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: https://github.com/microsoft/playwright/issues/26482
+1
+1
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: https://github.com/microsoft/playwright/issues/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!!