Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

testdriver:provision

БесплатноБез исполняемых скриптовНе проверен

Launch browsers, desktop apps, and extensions in your sandbox

testdriveraiот testdriverai★ 342 звезды на GitHub

Об этом скилле

Overview

The Provision API sets up applications in your sandbox before tests run. It handles downloading, installing, and launching browsers, desktop apps, VS Code, Chrome extensions, and more.

Access provision methods via testdriver.provision.*:

await testdriver.provision.chrome({ url: 'https://example.com' });
When `reconnect: true` is set on the client, **all provision methods are skipped** since the application is assumed to already be running.

Methods

chrome()

Launch Google Chrome with an optional URL.

await testdriver.provision.chrome(options?)
URL to navigate to after launch.
<ParamField path="maximized" type="boolean" default={true}>
  Launch Chrome in maximized window mode.
</ParamField>

<ParamField path="guest" type="boolean" default={false}>
  Launch Chrome in guest profile mode.
</ParamField>
// Basic
await testdriver.provision.chrome({ url: 'https://example.com' });

// With guest mode
await testdriver.provision.chrome({
  url: 'https://example.com',
  guest: true,
  maximized: true,
});

chromeExtension()

Install and launch a Chrome extension. You can install from a local unpacked directory or from the Chrome Web Store by extension ID.

await testdriver.provision.chromeExtension(options)
One of `extensionPath` or `extensionId` is required. Local path to an unpacked extension directory. The extension files are uploaded to the sandbox.
<ParamField path="extensionId" type="string">
  Chrome Web Store extension ID to install.
</ParamField>

<ParamField path="maximized" type="boolean" default={true}>
  Launch Chrome in maximized window mode.
</ParamField>
// From local directory
await testdriver.provision.chromeExtension({
  extensionPath: './my-extension',
});

// From Chrome Web Store
await testdriver.provision.chromeExtension({
  extensionId: 'abcdefghijklmnop',
});

vscode()

Launch Visual Studio Code with an optional workspace and extensions.

await testdriver.provision.vscode(options?)
Path to a workspace folder or `.code-workspace` file to open.
<ParamField path="extensions" type="string[]" default={[]}>
  Array of VS Code extension IDs to install before launching.
</ParamField>
await testdriver.provision.vscode({
  workspace: '/home/testdriver/project',
  extensions: ['ms-python.python', 'esbenp.prettier-vscode'],
});

installer()

Download and run an application installer. Supports .msi, .exe, .deb, .rpm, .appimage, .sh, .dmg, and .pkg formats.

await testdriver.provision.installer(options)
Download URL for the installer.
<ParamField path="filename" type="string">
  Override the auto-detected filename from the URL.
</ParamField>

<ParamField path="appName" type="string">
  Application name to focus after installation completes.
</ParamField>

<ParamField path="launch" type="boolean" default={true}>
  Whether to focus/launch the app after installation.
</ParamField>

Behavior:

  • Downloads the installer from the URL
  • Auto-detects the install method based on file extension
  • Runs the appropriate install command (e.g., msiexec for .msi, dpkg for .deb)
  • Optionally focuses the installed application
// Windows MSI installer
await testdriver.provision.installer({
  url: 'https://example.com/app-setup.msi',
  appName: 'MyApp',
});

// Linux DEB package
await testdriver.provision.installer({
  url: 'https://example.com/app.deb',
  appName: 'MyApp',
  launch: true,
});

electron()

Launch an Electron application.

await testdriver.provision.electron(options)
Path to the Electron application directory or executable.
<Param
Полный SKILL.md на GitHub

Установить testdriver:provision в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл testdriver:provision?

Launch browsers, desktop apps, and extensions in your sandbox

Как установить скилл testdriver:provision?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл testdriver:provision запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить testdriver:provision с