Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Commit 76745ad

Browse files
committed
Add info about new unstable features
1 parent 845a1cf commit 76745ad

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,26 @@ Debugging tests can be hard sometimes and it is very useful to be able to pause
8989
await jestPlaywright.debug()
9090
```
9191

92+
## Unstable and experimental API
93+
94+
From version **0.0.7** you can run you tests for multiple browsers.
95+
96+
- You must have installed **playwright** package
97+
- You must define browser to test with your `jest-playwright.config.js`:
98+
99+
```javascript
100+
module.exports = {
101+
browsers: ["chromium", "webkit"],
102+
...
103+
}
104+
```
105+
106+
- You must run your tests with **jest-playwright**
107+
108+
```json
109+
"test:parallel": "jest-playwright --parallel"
110+
```
111+
92112
## Inspiration
93113

94114
Thanks to [Smooth Code](https://github.com/smooth-code) for great [jest-puppeteer](https://github.com/smooth-code/jest-puppeteer).

0 commit comments

Comments
 (0)