{"_id":"@brittlehq/wdio-reporter","_rev":"3-12436e508d360d331cd2bc88d9099397","name":"@brittlehq/wdio-reporter","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@brittlehq/wdio-reporter","version":"0.1.0","keywords":["brittle","webdriverio","wdio","reporter","test","testing","ci"],"license":"Apache-2.0","_id":"@brittlehq/wdio-reporter@0.1.0","maintainers":[{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"}],"homepage":"https://brittle.dev","bugs":{"url":"https://github.com/brittlehq/brittle/issues"},"dist":{"shasum":"cd95280684cb893340b051600f4e75e7c1670933","tarball":"https://registry.npmjs.org/@brittlehq/wdio-reporter/-/wdio-reporter-0.1.0.tgz","fileCount":22,"integrity":"sha512-gXd3XzwLGBJNTKxg1BRdiV7I1f2rbImzLfZ7hi8chv754uoziPspNyRBQJePt6z9I/ISh2FjcdNEZuWwUmpTFA==","signatures":[{"sig":"MEUCIQD/U/1N0rcF/GHeUig+lNvv+dziL2tinv+VeQ+r261rxQIgUPrswuU0+rl+rgFrY+Y3xHfjqqlrxPRNCL8q2d8n8vM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133492},"main":"./dist/index.js","type":"module","_from":"file:brittlehq-wdio-reporter-0.1.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/cjs/index.js"}},"scripts":{"build":"tsc -b && tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json","clean":"rm -rf dist .tsbuild*","typecheck":"tsc -b"},"_npmUser":{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"},"_resolved":"/private/var/folders/7d/35flldkd1m12mzfw9r8wjht00000gn/T/75fff2daedb7f9de13b37b3fe1c09d6d/brittlehq-wdio-reporter-0.1.0.tgz","_integrity":"sha512-gXd3XzwLGBJNTKxg1BRdiV7I1f2rbImzLfZ7hi8chv754uoziPspNyRBQJePt6z9I/ISh2FjcdNEZuWwUmpTFA==","repository":{"url":"git+https://github.com/brittlehq/brittle.git","type":"git","directory":"packages/wdio-reporter"},"_npmVersion":"10.8.2","description":"Brittle reporter for WebdriverIO — streams test results to the Brittle Hub as each test completes","directories":{},"_nodeVersion":"20.19.4","dependencies":{"@brittlehq/shared":"0.1.0","@brittlehq/reporter-core":"0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@wdio/types":"^9.27.1","@wdio/reporter":"^9.27.1"},"peerDependencies":{"@wdio/reporter":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wdio-reporter_0.1.0_1779525587441_0.21223770294911826","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@brittlehq/wdio-reporter","version":"0.1.1","keywords":["brittle","webdriverio","wdio","reporter","test","testing","ci"],"license":"Apache-2.0","_id":"@brittlehq/wdio-reporter@0.1.1","maintainers":[{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"}],"homepage":"https://brittle.dev","bugs":{"url":"https://github.com/brittlehq/brittle/issues"},"dist":{"shasum":"1c2f4e94a827619673a81d97384bab4c06ce8d2a","tarball":"https://registry.npmjs.org/@brittlehq/wdio-reporter/-/wdio-reporter-0.1.1.tgz","fileCount":22,"integrity":"sha512-cSB3NNn4HPgJXOC7T+otbgpxzhYFOTt01JzTYZUxhVPxkoAL3b/2q2AUXRM41CrcIM1zYzgWzcomEpxKaZ0fzg==","signatures":[{"sig":"MEUCIB3s2wrxNsacRxa0/dD/iBidHx9TA7CIjp4tDa3R04KSAiEAqQVlJYSRRIRSvo1xcsYjDS1p/H0Y1x6StxCEhKGEHKY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@brittlehq%2fwdio-reporter@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":133782},"main":"./dist/index.js","type":"module","_from":"file:brittlehq-wdio-reporter-0.1.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/cjs/index.js"}},"scripts":{"build":"tsc -b && tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json","clean":"rm -rf dist .tsbuild*","typecheck":"tsc -b"},"_npmUser":{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"},"_resolved":"/tmp/9ccfd689d07a848a8cb46f9413e652f9/brittlehq-wdio-reporter-0.1.1.tgz","_integrity":"sha512-cSB3NNn4HPgJXOC7T+otbgpxzhYFOTt01JzTYZUxhVPxkoAL3b/2q2AUXRM41CrcIM1zYzgWzcomEpxKaZ0fzg==","repository":{"url":"git+https://github.com/brittlehq/brittle.git","type":"git","directory":"packages/wdio-reporter"},"_npmVersion":"10.8.2","description":"Brittle reporter for WebdriverIO — streams test results to the Brittle Hub as each test completes","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@brittlehq/shared":"0.2.0","@brittlehq/reporter-core":"0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@wdio/types":"^9.27.1","@wdio/reporter":"^9.27.1"},"peerDependencies":{"@wdio/reporter":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/wdio-reporter_0.1.1_1779554814661_0.20107820310748115","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@brittlehq/wdio-reporter","version":"0.1.2","description":"Brittle reporter for WebdriverIO — streams test results to the Brittle Hub as each test completes","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"require":"./dist/cjs/index.js","import":"./dist/index.js","types":"./dist/index.d.ts"}},"dependencies":{"@brittlehq/reporter-core":"0.1.2","@brittlehq/shared":"0.2.0"},"peerDependencies":{"@wdio/reporter":">=8.0.0"},"devDependencies":{"@wdio/reporter":"^9.27.1","@wdio/types":"^9.27.1"},"engines":{"node":">=20"},"keywords":["brittle","webdriverio","wdio","reporter","test","testing","ci"],"license":"Apache-2.0","homepage":"https://brittle.dev","repository":{"type":"git","url":"git+https://github.com/brittlehq/brittle.git","directory":"packages/wdio-reporter"},"bugs":{"url":"https://github.com/brittlehq/brittle/issues"},"publishConfig":{"access":"public"},"scripts":{"build":"tsc -b && tsc -p tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json","typecheck":"tsc -b","clean":"rm -rf dist .tsbuild*"},"_id":"@brittlehq/wdio-reporter@0.1.2","_integrity":"sha512-9ipeDevR4SwaF1DbFwcHuCbAE0uHr9NNnvPQE1GLQyXIwTBDQBIYjJuEru+1wnouX1TgZ9hlSDpjR6Ns3DznvA==","_resolved":"/tmp/dce6845fe6c82033f9b1dc711259da05/brittlehq-wdio-reporter-0.1.2.tgz","_from":"file:brittlehq-wdio-reporter-0.1.2.tgz","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-9ipeDevR4SwaF1DbFwcHuCbAE0uHr9NNnvPQE1GLQyXIwTBDQBIYjJuEru+1wnouX1TgZ9hlSDpjR6Ns3DznvA==","shasum":"8fae71159fdd2cae6fa0a8770540b92f146b2c59","tarball":"https://registry.npmjs.org/@brittlehq/wdio-reporter/-/wdio-reporter-0.1.2.tgz","fileCount":22,"unpackedSize":133782,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@brittlehq%2fwdio-reporter@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCxBvlxZFE0nfCCilwH2Ey2GoWUxhmZpW7WKn+c9KfAzgIhALB1XyLOcNqasDjBLk0ucCAveGcX2O4Cdd+VWU/fN/rm"}]},"_npmUser":{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"},"directories":{},"maintainers":[{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/wdio-reporter_0.1.2_1779558215515_0.5722657445051176"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-23T08:39:47.282Z","modified":"2026-05-23T17:43:36.154Z","0.1.0":"2026-05-23T08:39:47.604Z","0.1.1":"2026-05-23T16:46:54.808Z","0.1.2":"2026-05-23T17:43:35.675Z"},"bugs":{"url":"https://github.com/brittlehq/brittle/issues"},"license":"Apache-2.0","homepage":"https://brittle.dev","keywords":["brittle","webdriverio","wdio","reporter","test","testing","ci"],"repository":{"type":"git","url":"git+https://github.com/brittlehq/brittle.git","directory":"packages/wdio-reporter"},"description":"Brittle reporter for WebdriverIO — streams test results to the Brittle Hub as each test completes","maintainers":[{"name":"sudharsan-selvaraj","email":"sudharsanselvaraj.c@gmail.com"}],"readme":"# @brittlehq/wdio-reporter\n\nStream WebdriverIO test results to [Brittle](https://brittle.dev) — failure\ntriage, AI-grouped errors, flake history, BiDi command logs, optional\nfailure screenshots — without changing how your tests run.\n\n## Install\n\n```bash\npnpm add -D @brittlehq/wdio-reporter\n# or: npm i -D @brittlehq/wdio-reporter\n# or: yarn add -D @brittlehq/wdio-reporter\n```\n\n## Configure\n\nAdd the reporter to `wdio.conf.ts`:\n\n```ts\nimport BrittleReporter from '@brittlehq/wdio-reporter';\n\nexport const config = {\n  reporters: [\n    'spec',\n    [\n      BrittleReporter,\n      {\n        url: process.env.BRITTLE_URL,\n        token: process.env.BRITTLE_TOKEN,\n        screenshotOnFailure: true,\n      },\n    ],\n  ],\n};\n```\n\nSet the env vars in your shell or CI:\n\n```bash\nexport BRITTLE_URL=https://brittle.dev          # or your self-hosted hub\nexport BRITTLE_TOKEN=brt_svc_xxxxxxxxxxxxxxxx   # mint at Project → Settings → Tokens\n```\n\n## All options\n\n```ts\n{\n  url?: string;                  // defaults to process.env.BRITTLE_URL\n  token?: string;                // defaults to process.env.BRITTLE_TOKEN\n  runName?: string;              // groups parallel workers into one Run row\n  target?: string;               // 'prod' / 'staging' / app version label\n  tags?: string[];               // e.g. ['nightly', 'smoke']\n  screenshotOnFailure?: boolean; // capture browser.takeScreenshot() on failure\n  // Explicit git overrides\n  branch?: string;\n  commitSha?: string;\n  commitMessage?: string;\n  prUrl?: string;\n}\n```\n\nThe reporter subscribes to WebDriver BiDi events on the worker's `browser`\ninstance directly — no separate `services:` entry needed.\n\n## Run\n\n```bash\npnpm exec wdio run wdio.conf.ts\n```\n\n## Debug logging\n\nThe reporter is quiet by default — only warnings print to stderr. To see verbose debug output (per-test events, retry attempts, individual API calls), set:\n\n```bash\nexport BRITTLE_DEBUG=1\n```\n\nUseful when triaging \"test ran but didn't show up in the dashboard\" issues.\n\n## License\n\nApache-2.0\n","readmeFilename":"README.md"}