Reference
Each package documents itself in its own docs/ folder. The same pages ship inside the npm package, so an installed version always has matching docs at node_modules/@toets/<package>/docs/. This section renders them.
| Package | Role |
|---|---|
@toets/test | Main entry: test, expect, Key, defineConfig, platforms |
@toets/core | Platform-neutral core: locators, matchers, focus, keys, capabilities |
@toets/driver-web | Web driver (Chromium through Playwright) |
@toets/driver-android-tv | Android TV driver (Appium UiAutomator2) and emulator management |
@toets/driver-tvos | tvOS driver (Appium XCUITest) and simulator management |
@toets/mock | Host-side mock server with MSW handlers |
@toets/protocol | SDK protocol spec, host and conformance suite |
@toets/sdk | In-app SDK core and web adapter |
@toets/sdk-react-native | In-app SDK adapter for React Native |
@toets/mcp | MCP server for agents |
@toets/eslint-plugin | Lint rules for toets tests and page objects |
Every error code a toets error can carry is listed in Error codes.
There is no generated API site yet: the type declarations each package ships (dist/*.d.ts) carry the TSDoc and are the API reference; editors and agents read them directly.