CodeceptJS
CodeceptJS copied to clipboard
Need to run many scenarios at one instance without relaunching the browser. How to do it?
helpers: { Playwright: { browser: 'chromium', url: '***', show: true, keepBrowserState: true, // This ensures cookies and session are maintained across scenarios restart: false, // Prevents browser from restarting after each scenario keepCookies: true, } }
I have given restart as 'false' but still the browser is getting relaunched after every scenario