@currents/playwright
Setup and usage instructions for Playwright integration with Currents Dashboard
Requirements
Setup
Install @currents/playwright
@currents/playwright npm i -D @currents/playwrightCreate currents.config.ts
currents.config.tsimport { CurrentsConfig } from "@currents/playwright";
const config: CurrentsConfig = {
recordKey: process.env.CURRENTS_RECORD_KEY || throw new Error("oh no!"),
projectId: process.env.CURRENTS_PROJECT_ID
};
export default config;Update playwright.config.js|ts
playwright.config.js|tsUsage
pwc command-line executable
pwc command-line executableManually Add Currents Reporter
Configuration
Fixtures
Examples
CI Examples
Last updated
Was this helpful?