Cypress - Plugins and Ecosystem
What is wrong with this plugin code?
module.exports = (on, config) => {
on('before:browser:launch', (browser = {}, launchOptions) => {
launchOptions.args.push('--disable-gpu')
})
}