Setting specific chrome flags in puppeteer (enable and disable)
问题 I'm trying to add specific flags of chrome (flags that are found in "chrome://flags/") to the running of my browser in the tests. The flags I'm trying to enable are: "#enable-webgl-draft-extensions" "#shared-array-buffer" and to disable: "#enable-asm-webassembly" In the regular chrome command line it looks like this: "--flag-switches-begin --enable-webgl-draft-extensions --enable-features=SharedArrayBuffer --disable-features=AsmJsToWebAssembly --flag-switches-end" If i add these criteria in