testdriver:options
БесплатноБез исполняемых скриптовНе проверенEvery option you can pass to the TestDriver client, with defaults and examples
от testdriverai★ 342 звезды на GitHubОб этом скилле
Overview
You configure the SDK with an options object. You can pass the object in three places:
// 1. Vitest hook (most common)
const testdriver = TestDriver(context, { os: "windows" });
// 2. Constructor
const testdriver = new TestDriver(apiKey, { os: "windows" });
// 3. Global plugin options in vitest.config.mjs
testdriver({ os: "windows" })
The hook merges the options in this order. A later source replaces an earlier source:
- Default values
- Environment variables (
TD_OS,TD_API_ROOT,TD_E2B_TEMPLATE_ID) - Global plugin options
- Options that you pass to the hook or the constructor
Options that you pass to connect() replace the constructor values for that connection only.
Sandbox
These options control the virtual machine that runs your test.
When reconnect is true, the SDK skips provision methods (chrome, vscode, installer, and others). The application is already running. The previous sandbox must still be alive. See keepAlive and the Run guide.
Example
const testdriver = TestDriver(context, {
os: "windows",
resolution: "1920x1080",
keepAlive: 300000,
debugOnFailure: true,
});
Preview and recording
These options control what you see while the test runs.
"browser"opens the debugger in your default browser."ide"opens the preview in the IDE panel. This mode needs the TestDriver extension for VS Code or Cursor."none"runs without a visual preview. Use this in CI.
The file name format is <seq>-<action>-<phase>-L<line>-<description>.png. Example: 001-click-before-L42-submit-button.png. See Debugging with screenshots.
Example
const testdriver = TestDriver(context, {
preview: process.env.CI ? "none" : "browser",
autoScreenshots: true,
});
AI and element location
These options control how the AI locates elements and checks assertions.
You can replace this value f
Установить testdriver:options в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл testdriver:options?
Every option you can pass to the TestDriver client, with defaults and examples
Как установить скилл testdriver:options?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл testdriver:options запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic