Add WebGL launch options to Playwright config
This commit is contained in:
@@ -15,7 +15,10 @@ export default defineConfig({
|
|||||||
{
|
{
|
||||||
name: "chromium",
|
name: "chromium",
|
||||||
use: {
|
use: {
|
||||||
...devices["Desktop Chrome"]
|
...devices["Desktop Chrome"],
|
||||||
|
launchOptions: {
|
||||||
|
args: ["--enable-webgl", "--use-gl=angle", "--use-angle=swiftshader-webgl"]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user