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?

asked a year ago321 views
1 Answer
1
Accepted Answer

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
SUPPORT ENGINEER
Tom_T
answered a year ago
  • Wonderful, thanks so much for this response! This explains so much about our device farm tests and is great to know going forward!

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions