0.0.4 • Published 1 year ago
@hexdee606/playwright-logger v0.0.4
🎯 Playwright Logger
A clean and consistent Playwright Reporter for human-readable test logs.
✨ Features
- CLI-safe ASCII icons
- Uniform aligned log tags
- Color-coded by log level
- Optional verbose mode
- Stack trace + error formatting
- Timezone-aware timestamps
- Attachment info shown inline
📦 Install
npm install --save-dev @hexdee606/playwright-logger🔧 Use in playwright.config.ts | js
reporter: [
['@hexdee606/playwright-logger', {
timezone: 'IST',
verbosity: 'verbose' // or 'standard'
}]
]🛠 Options
| Key | Type | Description |
|---|---|---|
timezone | string | IANA timezone (e.g., Asia/Kolkata, UTC) |
verbosity | string | 'standard' or 'verbose' |