{"library":"playwright-console-reporter","title":"Playwright Console Reporter","description":"playwright-console-reporter is a custom console reporter for Playwright tests, currently at version 1.0.2. It enhances the standard Playwright console output by capturing detailed test steps and results, then transforming them into structured, human-readable reports directly within the terminal. This provides developers with immediate, in-depth insights into test suite performance and execution flow, allowing for quick analysis of failures and bottlenecks without the need to navigate external HTML or JUnit report files. The package is actively maintained, with releases likely following Playwright's own update cadence or as features and bug fixes are introduced. Its key differentiator lies in its focus on comprehensive, structured console logging, contrasting with Playwright's built-in `list` or `dot` reporters which offer less detail, or `html`/`json` reporters which require opening separate files for detailed review. It aims to streamline debugging and daily development workflows by keeping all relevant test information visible in the terminal.","language":"javascript","status":"active","last_verified":"Tue Apr 21","install":{"commands":["npm install playwright-console-reporter"],"cli":{"name":"playwright-console-reporter","version":null}},"imports":["reporter: [['playwright-console-reporter', {}]]","import { PlaywrightTestConfig } from '@playwright/test';","import { ConsoleReporter } from 'playwright-console-reporter';"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { PlaywrightTestConfig } from '@playwright/test';\n\nlet reporters: PlaywrightTestConfig['reporter'] = [\n  ['junit', { outputFile: 'build/results.xml' }],\n  ['html', { outputFolder: 'build/html-report', open: 'never' }],\n  ['list']\n];\n\n// Add the console reporter\nreporters.push(['playwright-console-reporter', {}]);\n\nconst config: PlaywrightTestConfig = {\n  reporter: reporters,\n  // other Playwright configurations...\n};\n\nexport default config;\n\n// To ensure detailed reports are printed line by line, set this environment variable before running tests:\n// PLAYWRIGHT_FORCE_TTY=false","lang":"typescript","description":"Demonstrates how to integrate the playwright-console-reporter into your existing Playwright configuration file, alongside other reporters.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}