testdriver:client
БесплатноБез исполняемых скриптовНе проверенInitialize and configure the TestDriver SDK client
от testdriverai★ 342 звезды на GitHubОб этом скилле
Overview
The TestDriver client is the main entry point for the SDK. It handles authentication, sandbox connection, and provides access to all testing methods.
Constructor
const testdriver = new TestDriver(apiKey, options)
Parameters
<ParamField path="resolution" type="string" default="1366x768">
Screen resolution for the sandbox (e.g., `'1920x1080'`, `'1366x768'`)
</ParamField>
<ParamField path="apiRoot" type="string">
API endpoint URL (typically only changed for self-hosted deployments)
</ParamField>
<ParamField path="analytics" type="boolean" default="true">
Enable or disable usage analytics
</ParamField>
<ParamField path="logging" type="boolean" default="true">
Enable or disable console logging
</ParamField>
<ParamField path="autoScreenshots" type="boolean" default="false">
Automatically capture screenshots before and after each command. Screenshots are saved to `.testdriver/screenshots/<test>/` with descriptive filenames that include the line number and action name. Format: `<seq>-<action>-<phase>-L<line>-<description>.png`
</ParamField>
<ParamField path="newSandbox" type="boolean" default="true">
Force creation of a new sandbox instead of reusing an existing one
</ParamField>
<ParamField path="reconnect" type="boolean" default="false">
Reconnect to the last used sandbox instead of creating a new one. When `true`, provision methods (`chrome`, `vscode`, `installer`, etc.) will be skipped since the application is already running. Throws error if no previous sandbox exists.
</ParamField>
<ParamField path="preview" type="string" default="browser">
Preview mode for live test visualization:
- `"browser"` — Opens debugger in default browser (default)
- `"ide"` — Opens preview in IDE panel (VSCode, Cursor - requires TestDriver extension)
- `"none"` — Headless mode, no visual preview
</ParamField>
<ParamField path="headless" type="boolean" default="false">
**Deprecated**: Use `preview: "none"` instead. Run in headless mode without opening the debugger.
</ParamField>
<ParamField path="debugOnFailure" type="boolean" default="false">
Keep the sandbox alive when a test fails so you can reconnect and debug interactively. The sandbox ID is printed to the console.
</ParamField>
<ParamField path="ip" type="string">
Direct IP address to connect to a running sandbox instance (for self-hosted deployments)
</ParamField>
<ParamField path="sandboxAmi" type="string">
Custom AMI ID for the sandbox instance (AWS deployments, e.g., `'ami-1234'`)
</ParamField>
<ParamField path="sandboxInstance" type="string">
EC2 instance type for the sandbox (AWS deployments, e.g., `'i3.metal'`)
</ParamField>
<ParamField path="cache" type="boolean | object" default="true">
Enable or disable element caching, or provide advanced threshold configuration.
<Expandable title="advanced config">
<ParamField path="enabled" type="boolean" default="true">
Enable or disable caching
</ParamField>
<ParamField path="thresholds" type="object">
Fine-tune cache matching
<Expandable title="properties">
<ParamField path="find" type="object">
Thresholds for `find()` operations
<Expandable title="properties">
<ParamField path="screen" type="number" default="0.05">
Pixel diff threshold for screen comparison (0-1). `0.05` = 5% diff allowed.
</ParamField>
<ParamField path="element" type="number" default="0.8">
OpenCV template match threshold for element matching (0-1). `0.8` = 80% correlation.
</ParamField>
</Expandable>
</ParamField>
<ParamField path="assert" type="number" default="0.05">
Pixel diff threshold for `assert()` operations (0-1). `0.05` = 5% diff allowed.
</ParamField>
</Expandable>
</ParamField>
</Expandable>
</ParamField>
<ParamField path="cacheKey" type="string">
Cache key for element finding operations. If provided, enables caching tied to this key.
</ParamField>
<ParamField path="verify" type="boolean" default="f
Установить testdriver:client в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл testdriver:client?
Initialize and configure the TestDriver SDK client
Как установить скилл testdriver:client?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл testdriver:client запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic