
Research
/Security News
PolinRider Spreads Through Compromised GitHub Accounts and Packagist
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.
@vitest/browser-playwright
Advanced tools
Run your Vitest browser tests using playwright API. Note that Vitest does not use playwright as a test runner, but only as a browser provider.
We recommend using this package if you are already using playwright in your project or if you do not have any E2E tests yet.
Install the package with your favorite package manager:
npm install -D @vitest/browser-playwright
# or
yarn add -D @vitest/browser-playwright
# or
pnpm add -D @vitest/browser-playwright
Then specify it in the browser.provider field of your Vitest configuration:
// vitest.config.ts
import { defineConfig } from 'vitest/config'
import { playwright } from '@vitest/browser-playwright'
export default defineConfig({
test: {
browser: {
provider: playwright({
// ...custom playwright options
}),
instances: [
{ browser: 'chromium' },
],
},
},
})
Then run Vitest in the browser mode:
npx vitest --browser
FAQs
Browser running for Vitest using playwright
The npm package @vitest/browser-playwright receives a total of 4,626,216 weekly downloads. As such, @vitest/browser-playwright popularity was classified as popular.
We found that @vitest/browser-playwright demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.

Company News
Allow myself to introduce... myself.