# JS Client

The Stoobly JavaScript library (`stoobly`) provides convenient access to `stoobly-agent` from end-to-end testing frameworks such Playwright and Cypress. It enables recording, mocking, and testing HTTP requests directly from your test framework.

## Sub-Pages

* [Setup](https://docs.stoobly.com/faq/scaffold/e2e-testing/js-client/setup) — Installation, requirements, and importing the library
* [Playwright Integration](https://docs.stoobly.com/faq/scaffold/e2e-testing/js-client/playwright) — Using `playwrightInterceptor()`, `withPage()`, `withContext()`, and recording
* [Cypress Integration](https://docs.stoobly.com/faq/scaffold/e2e-testing/js-client/cypress) — Using `cypressInterceptor()`, `apply()`, and recording
* [Configuration](https://docs.stoobly.com/faq/scaffold/e2e-testing/js-client/configuration) — URL patterns, scenarios, sessions, recording options, and interception control
* [Troubleshooting & Examples](https://docs.stoobly.com/faq/scaffold/e2e-testing/js-client/troubleshooting) — Debugging, complete examples, and quick reference

## Related Documentation

* For scaffold integration, see [../README.md](https://docs.stoobly.com/faq/scaffold/e2e-testing)
* For Docker runtime, see [../docker.md](https://docs.stoobly.com/faq/scaffold/e2e-testing/docker)
* For local runtime, see [../local.md](https://docs.stoobly.com/faq/scaffold/e2e-testing/local)
