Skip to content

tjagithub/playwright-2fa-example

Repository files navigation

Playwright OTP Example

An example of OTP authentication using Playwright.

This includes an example of a Playwright test fixture to show how you can reduce the amount of boilerplate code required to use OTP authentication.

Installation

npm install

Usage

npm run test

Dependencies

  • @playwright/test
  • @types/node
  • otpauth
  • dotenv

License

MIT License

Author

Timothy Appleby

About

An example of OTP authentication using Playwright

Topics

Resources

License

Stars

Watchers

Forks