ahmadsharabati/QAPAL Selector Healing
Analyze, fix, and heal broken Playwright selectors automatically
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| url | Base URL to probe selectors against (e.g. staging URL) | yes | — |
| test-files | Glob pattern for test files (default: tests/**/*.spec.ts) | no | tests/**/*.spec.ts |
| test-results | Path to pytest-json-report results file (for heal mode) | no | "" |
| mode | Mode: analyze, fix, or heal | no | analyze |
| min-confidence | Minimum confidence threshold for fix mode (0.0-1.0) | no | 0.5 |
| output-format | Output format: table, json, or github | no | github |
| create-pr | Create a PR with fixes (fix/heal mode only) | no | false |
| language | Test language: python or typescript | no | typescript |
| credentials-file | Path to JSON credentials file for authenticated pages | no | "" |
| python-version | Python version to use | no | 3.12 |
| qapal-version | QAPAL version to install (default: latest) | no | qapal |
Outputs
| name | description |
|---|---|
| total-selectors | Total number of selectors found |
| strong-selectors | Number of strong selectors (grade A/B) |
| weak-selectors | Number of weak selectors (grade C/D) |
| broken-selectors | Number of broken selectors (grade F) |
| patches-applied | Number of patches applied (fix/heal mode) |
| pr-url | URL of created PR (if --pr used) |