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 年前檢視次數 333 次
1 個回答
1
已接受的答案

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
支援工程師
Tom_T
已回答 1 年前
  • Wonderful, thanks so much for this response! This explains so much about our device farm tests and is great to know going forward!

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南