Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async setup() {
await super.setup();
this.global.__BROWSER__ = await puppeteer.launch({
headless: process.env.RUN_WITH_DISPLAY != 'true'
});
}