0.0.4 • Published 1 year ago

@hexdee606/playwright-logger v0.0.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

🎯 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

KeyTypeDescription
timezonestringIANA timezone (e.g., Asia/Kolkata, UTC)
verbositystring'standard' or 'verbose'