> For the complete documentation index, see [llms.txt](https://docs.stoobly.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stoobly.com/faq/scaffold/e2e-testing/js-client.md).

# 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](/faq/scaffold/e2e-testing/js-client/setup.md) — Installation, requirements, and importing the library
* [Playwright Integration](/faq/scaffold/e2e-testing/js-client/playwright.md) — Using `playwrightInterceptor()`, `withPage()`, `withContext()`, and recording
* [Cypress Integration](/faq/scaffold/e2e-testing/js-client/cypress.md) — Using `cypressInterceptor()`, `enable()`, and recording
* [Configuration](/faq/scaffold/e2e-testing/js-client/configuration.md) — URL patterns, scenarios, sessions, recording options, and interception control
* [Troubleshooting & Examples](/faq/scaffold/e2e-testing/js-client/troubleshooting.md) — Debugging, complete examples, and quick reference

## Related Documentation

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