
Company News
AWS Security Hub Adds Socket for Supply Chain Security
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.
@currents/playwright
Advanced tools
[Currents](https://currents.dev/playwright) is the most popular and advanced cloud-based platform for Playwright - debugging, error analysis, real-time analytics, orchestration, and more
Currents is the most popular and advanced cloud-based platform for Playwright - debugging, error analysis, real-time analytics, orchestration, and more
Real-time Test Analytics & Debugging
Integration & Automation
Performance & Scale
Built for AI & Modern Development
Enterprise Ready
npm install @currents/playwright
use: {
// ...
trace: "retain-on-failure-and-retries",
video: "retain-on-failure",
screenshot: "on",
}
Your task is to update Playwright setup to report test results to Currents.dev
1. Install "@currents/playwright" package:
- as a development dependency
- using the project's package manager (npm, pnpm, yarn, etc...)
2. Update the Playwright configuration file (playwright.config.ts|js|mjs):
- enable traces, videos and screenshots by updating the "use" property, e.g.:
use: {
trace: "retain-on-failure-and-retries",
video: "retain-on-failure",
screenshot: "on",
}
- add Currents test reporter, keep any existing reporters. Example:
// playwright.config.ts
import { defineConfig, devices, PlaywrightTestConfig } from "@playwright/test";
import { currentsReporter } from "@currents/playwright";
export default defineConfig({
// ...
reporter: [currentsReporter()], // add Currents reporter
});
3. Create a new "currents.config.ts" file next to the existing playwright.config.ts|js|mjs file.
- use the same extension
- add the content below
import { CurrentsConfig } from "@currents/playwright";
const config: CurrentsConfig = {
recordKey: process.env.CURRENTS_RECORD_KEY!,
projectId: process.env.CURRENTS_PROJECT_ID!
};
export default config;
Start reporting test results to Currents in just minutes. Head to the Getting Started Guide for step-by-step setup instructions.
The guide covers:
@currents/playwrightOrchestration helps distribute tests across CI machines for parallel execution, achieving up to 40% faster test completion compared to native Playwright sharding.
Instead of fixed sharding, Currents uses historical timing data to intelligently distribute tests, reducing CI time and costs.
Learn more in the Orchestration Setup Guide.
Check out example repositories and guides for running Playwright tests on popular CI providers and recording results to Currents:
For all CI/CD examples, see currents-examples repository.
Explore comprehensive guides to get started and master Currents:
Visit docs.currents.dev for the complete documentation.
FAQs
[Currents](https://currents.dev/playwright) is the most popular and advanced cloud-based platform for Playwright - debugging, error analysis, real-time analytics, orchestration, and more
We found that @currents/playwright demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.