Can Device Farm Desktop browsers support WebGL 2.0?

0

Hi! I'm trying to set up automated QA for a Unity WebGL product, but when we build it with the WebGL 2.0 graphics API, and load our test page in Device Farm with Firefox, we get the following error:

UnexpectedAlertOpenError: Dismissed user prompt dialog: Your browser does not support graphics API "WebGL 2.0" which is required for this content.

The latest Firefox definitely supports WebGL 2.0 at this point, so I'm assuming that Device Farm is turning it off intentionally, and I can't find any Selenium WebDriver commands to affect it either way.

So: is there some way to enable it, or will we be forced to use a different solution for our testing?

preguntada hace un año332 visualizaciones
1 Respuesta
1
Respuesta aceptada

Hello,

This is Tom from AWS Support Team. I see that this is a question on WebGL 2.0 compatibility with Device Farm Desktop Browsers (Firefox).

Device Farm desktop browser instances are based on the c5.large instance type [1]. This type of EC2 instances does not offer GPUs, and thus use the CPU for all graphical computations. As a result, graphics-intensive applications such as those from Unity may not work as expected. Therefore, I would recommend alternative solutions for testing builds with WebGL 2.0 API integrations.

I hope the above information helps. Have a nice day!

Links and References

[1] https://aws.amazon.com/ec2/instance-types/

AWS
INGENIERO DE SOPORTE
Tom_T
respondido hace un año
  • Wonderful, thanks so much for this response! This explains so much about our device farm tests and is great to know going forward!

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas