testdriver:type
БесплатноБез исполняемых скриптовНе проверенType text into focused input fields
от testdriverai★ 342 звезды на GitHubОб этом скилле
Overview
Type text or numbers into the currently focused input field with optional delay between keystrokes.
Syntax
await testdriver.type(text, options)
Parameters
<ParamField path="secret" type="boolean" default={false}>
If `true`, treats text as sensitive data (won't be logged or stored in debug info/dashcam)
</ParamField>
Returns
Promise<void>
Examples
Basic Typing
// Type text
await testdriver.type('[email protected]');
// Type numbers
await testdriver.type(12345);
// Type with custom delay (legacy syntax)
await testdriver.type('slow typing', 500); // 500ms between each character
// Type with options object
await testdriver.type('text', { delay: 500 });
Password/Secret Handling
// ✅ SECURE - Mark as secret to prevent logging
const passwordField = await testdriver.find('password input');
await passwordField.click();
await testdriver.type('MySecureP@ssw0rd', { secret: true });
// Password NOT logged in dashcam or debug output
// ❌ INSECURE - Password will be logged
await testdriver.type('MySecureP@ssw0rd');
// Password appears in logs, dashcam replay, and debug info
// Use secret for any sensitive data
await testdriver.find('api key input').click();
await testdriver.type('sk-1234567890abcdef', { secret: true });
await testdriver.find('credit card input').click();
await testdriver.type('4111111111111111', { secret: true });
Without this option, typed text appears in:
- Dashcam video replays
- TestDriver logs
- Debug screenshots
- Error messages
Form Filling
// Focus field and type
const emailField = await testdriver.find('email input');
await emailField.click();
await testdriver.type('[email protected]');
// Tab to next field and type
await testdriver.pressKeys(['tab']);
await testdriver.type('John Doe');
// Type password securely
await testdriver.pressKeys(['tab']);
await testdriver.type('MySecureP@ssw0rd', { secret: true });
Clearing and Replacing Text
const searchBox = await testdriver.find('search input');
await searchBox.click();
// Clear existing text
await testdriver.pressKeys(['ctrl', 'a']); // Select all
await testdriver.type('new search query');
Best Practices
Always click the input field or navigate to it before typing:
const input = await testdriver.find('username input');
await input.click();
await testdriver.type('testuser');
Navigate between fields using Tab instead of clicking each one:
const firstField = await testdriver.find('first name');
await firstField.click();
await testdriver.type('John');
await testdriver.pressKeys(['tab']);
await testdriver.type('Doe');
await testdriver.pressKeys(['tab']);
await testdriver.type('[email protected]');
Clear existing content to avoid appending:
const input = await testdriver.find('search field');
await input.click();
await testdriver.pressKeys(['ctrl', 'a']); // Select all
await testdriver.type('new search');
Typing will only work if an input field is currently focused. If no field is focused, the text may be lost or trigger unexpected keyboard shortcuts.
Use Cases
const usernameField = await testdriver.find('username input');
await usernameField.click();
await testdriver.type('[email protected]');
await testdriver.pressKeys(['tab']);
await testdriver.type('MyP@ssword123', { secret: true });
await testdriver.pressKeys(['enter']);
```
// Wait for results
await new Promise(r => setTimeout(r, 2000));
```
Установить testdriver:type в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл testdriver:type?
Type text into focused input fields
Как установить скилл testdriver:type?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл testdriver:type запускает скрипты?
Нет, скилл состоит только из инструкций (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