Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
newTest.beforeEach(async t => { t.context.browser = await openBrowser(global.chromePath) })
A better interface for common browser automation workflows