playwright-cpupro-reporter
v0.0.1
Published
CPUpro reporter for playwright
Downloads
4
Readme
Playwright cpupro reporter
This reported based on cpupro package. Please check it out for CLI options.
Get Started
npm i playwright-cpupro-reporter # npm
yarn add playwright-cpupro-reporter # yarn
pnpm add playwright-cpupro-reporter # pnpm
bun a playwright-cpupro-reporter # bun
Configure reporter
In your playwright.config.ts
add next lines:
// filename: playwright.config.ts
export default defineConfig({
// ...
reporter: [
[
"playwright-cpupro-reporter",
{
// options object
},
],
],
// ...
});
Reporter Options
NOTE: Reporter will always use playwright-report
directory. Since playwright folder for reporters.
| name
| description
| default
|
| -------------- | ----------------------------- | --------- |
| fileName
| output filename | profile
|
| open
| open genenrated HTML report. | false
|
| generateHtml
| generate html profiler output | false
|