'Playwright authorization pattern without using playwright/test

I am interested in using the authentuication pattern found https://playwright.dev/docs/test-auth/. But our code is not using the playwright test. We are using mocha as our test runner. Is it still possible to port this authentication pattern to mocha test runner?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source