Releases: japa/browser-client
Releases · japa/browser-client
Add recording mode to record the interactions and create a test from it
2.3.0 (2026-01-09)
Just replace the visit helper with record and you are all good to go.
test.group('Posts create', () => {
test('create a new post', async ({ record, route }) => {
/**
* Opens the browser in recording mode.
* Test timeout is disabled while recording.
* Interact with the page, then close the browser
* to see the generated test code.
*/
await record(route('posts.create'))
})
})Bug Fixes
- bind browserContext to the enableRecorder method (dc8bd5d)
Features
- add context.record method to launch browser in record mode (dfba366)
Full Changelog: v2.2.0...v2.3.0
Update dependencies
Fix peer dependency range
2.1.1 (2025-01-12)
Full Changelog: v2.1.0...v2.1.1
Support @japa/runner v4
2.1.0 (2025-01-12)
Features
What's Changed
- Feature/auto waiting by @jeppester in #5
New Contributors
- @jeppester made their first contribution in #5
Full Changelog: v2.0.3...v2.1.0
Update dependencies
- chore: update dependencies 6009f22
Full Changelog: v2.0.2...v2.0.3
Update dependencies
Full Changelog: v2.0.1...v2.0.2
Use tsup for bundling
Full Changelog: v2.0.0...v2.0.1
Major release under latest tag
Full Changelog: v1.2.0...v2.0.0
Remove fs-extra
- chore: update peer dependencies range 8460317
- chore: remove fs-extra 060d199
- chore: update dependencies 0707c49
Full Changelog: v2.0.0-3...v2.0.0-4
Fix - Remove traces before running suite tests
- test: fix breaking tests 85579ce
- fix: use current working directory for traces output 53f5347
- fix: clean suite traces before running the tests 80c6d5c
- chore: update dependencies 3174fa2
Full Changelog: v2.0.0-2...v2.0.0-3