fix(qa): choose portable browser renderers outside macOS

This commit is contained in:
Tom-Neverwinter authored and Sameh Khamis committed 2026-09-11 14:43:13 -07:00
1 parent 162ac4f2c9
commit 01dcecf6e9
4 files changed
+16 -4

No files matched your search

+4 -1
View File
@@ -491,7 +491,10 @@ async function main() {
...(executablePath ? { executablePath } : {}),
args: [
'--no-sandbox', '--disable-setuid-sandbox',
'--use-angle=metal', '--enable-gpu', '--ignore-gpu-blocklist',
// Metal is a macOS-only ANGLE backend; anywhere else it fails WebGL init.
...(process.platform === 'darwin'
? ['--use-angle=metal', '--enable-gpu', '--ignore-gpu-blocklist']
: ['--use-gl=angle', '--use-angle=swiftshader']),
'--disable-dev-shm-usage', '--disable-background-timer-throttling',
'--disable-renderer-backgrounding', '--window-size=1440,900',
],