Installation
Get started with Chroma by installing the package and downloading wallet extensions.Install the package
Install Chroma along with its peer dependency@playwright/test:
@playwright/test is a peer dependency and must be installed separately to avoid version conflicts with your existing Playwright setup.Download wallet extensions
Before running your tests, download the wallet extensions you want to test with:.chroma directory in your project root.
Add to package.json
For convenience, add the download command to yourpackage.json scripts:
package.json
Verify installation
Create a simple test file to verify your installation:test.spec.ts
What’s in .chroma?
The.chroma directory contains:
metamask-extension-13.17.0/- MetaMask extension filespolkadot-extension-0.62.6/- Polkadot JS extension filestalisman-extension-3.2.0/- Talisman extension files
Add
.chroma/ to your .gitignore file. The extensions should be downloaded as part of your test setup, not committed to version control.Next steps
Quickstart
Build your first wallet test
API reference
Explore the complete API