You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code for this is done in cypress-io/cypress#5891, but has yet to be released.
We'll update this issue and reference the changelog when it's released.
Currently we allow passing Chrome browser CLI switches via https://on.cypress.io/browser-launch-api The user specifies these flags in the plugins file.
We should allow passing Electron CLI flags, but because we launch Electron FIRST way before the plugins file gets processed, then we need to somehow pipe it through CLI to the https://github.com/cypress-io/cypress/blob/develop/packages/server/lib/environment.coffee
Probable an environment variable would be ok to achieve this
that would be equivalent to running
chrome --disable-dev-shm-usage
Note: only some Chrome CLI switches are supported though, see Electron Documentation Supported Chrome Command Line Switches
The parsed args will be fed to https://electronjs.org/docs/api/command-line#commandlineappendswitchswitch-value so we need to support both presence and value flags like
that would be like (note that boolean flag "true" has been converted)
Related issues
Related links
The text was updated successfully, but these errors were encountered: