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?

1 réponse
1
Réponse acceptée

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
INGÉNIEUR EN ASSISTANCE TECHNIQUE
Tom_T
répondu il y a un an
  • Wonderful, thanks so much for this response! This explains so much about our device farm tests and is great to know going forward!

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions