-
Notifications
You must be signed in to change notification settings - Fork 674
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
Docker image / SW WebGL support #2116
Comments
Hi @sommcz! Thank you for your research! I've found a way to enable WebGL in Firefox. I'll update Dockerfile and |
I didn't test it, but it will be nice to add support for swiftshader too. So developers can choose which one to use. Alpine package: https://pkgs.alpinelinux.org/contents?branch=edge&name=mesa-gles&arch=x86_64&repo=main Library: usage: |
I've also found that |
This issues seems to be fixed at least from the Testcafe Docker image 1.8.6 on. It worked out of the box for us after upgrading from 1.7.0. Important: I am talking about the Docker image, not just the Testcafe version. |
@mhoennig Thank you for pointing this out. |
Are you requesting a feature or reporting a bug?
bug?
What is the current behavior?
WebGL is disabled by default (in chromium and firefox browsers in testcafe docker)
What is the expected behavior?
WebGL is enabled by default or there is possibility to enable/disable it
How would you reproduce the current behavior (if this is a bug)?
Run following test with docker command:
docker run -v c:\MyPath\Tests:/tests -it testcafe/testcafe "chromium --no-sandbox" /tests/test1.ts -S -s /tests/screenshots
See created screenshot:
I tried real app with WebGL component (mapbox-gl) also and it fails with WebGL init js error.
As there is not chrome://settings etc. available within testcafe fixtures, there is no posibility to control webgl settings.
Thank you for any help.
Specify your
The text was updated successfully, but these errors were encountered: