๐ค Poa โ Page Object Architecture Assistant (CLI for structured test automation)
npm install page-object-assistantbash
npm install page-object-assistant
`
---
๐งช Usage
`bash
npx poa find https://your-app.com/projects/123/users/456
`
$3
| Flag | Description |
|------|-------------|
| --app | Manually set app name |
| --create-page-object | Auto-create if missing |
| --open | Open file after creation |
| --editor | vscode, jetbrains, or default |
| --no-prompt | Skip confirmation prompts |
| --format | Output as json or plain |
| --output | Export info to file |
| --config | Custom config path |
| --create-app, --create-base-page-object, --init-page-in-app | Optional auto behaviors |
---
๐ Structure
Poa uses a folder-based routing pattern, just like modern front-end frameworks:
`
page-objects/
โโโ galaxy/
โโโ app.ts
โโโ projects/
โโโ [projectId]/
โโโ users/
โโโ [userId]/
โโโ page.ts
``