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
puppeteer.launch({args});
I receive them before the "--flag-switches-begin" line (I'm watching the command that chrome was ran with in: "chrome://version").
Thank you very much!