Skip to content

aeq/playwright-actions

Repository files navigation

Playwright actions and tests

This library allows for a structure to use playwright both for tests and as an automation script.

Requirements

  1. Git (test with: git -v)
  2. NodeJS (test with: npm -v)

Installation:

  1. Clone the repository git clone https://github.com/aeq/playwright-actions.git
  2. Change to directory cd playwright-actions
  3. run npm i
  4. Run the google Login setup npx playwright test auth.setup.ts --headed
  5. close the browser

Commands

  1. Initialize Google Login: npm run init
  2. Show help: npm run action
  3. Run an action: npm run action <action-name> (Example: npm run action aeq-search)
  4. Run an action with props: npm run action <action-name> -- --my-prop=true (Example: npm run action aeq-search)

About

Playwright as a test and automation tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published