Skip to content

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.

PackageRole
@toets/testMain entry: test, expect, Key, defineConfig, platforms
@toets/corePlatform-neutral core: locators, matchers, focus, keys, capabilities
@toets/driver-webWeb driver (Chromium through Playwright)
@toets/driver-android-tvAndroid TV driver (Appium UiAutomator2) and emulator management
@toets/driver-tvostvOS driver (Appium XCUITest) and simulator management
@toets/mockHost-side mock server with MSW handlers
@toets/protocolSDK protocol spec, host and conformance suite
@toets/sdkIn-app SDK core and web adapter
@toets/sdk-react-nativeIn-app SDK adapter for React Native
@toets/mcpMCP server for agents
@toets/eslint-pluginLint 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.