testdriver:wait
БесплатноБез исполняемых скриптовНе проверенPause the execution of the script for a specified duration.
от testdriverai★ 342 звезды на GitHubОб этом скилле
Description
The wait method stops the test for a number of milliseconds. Then it continues. Use this to add delays between actions, to wait for animations to complete, or to let state changes become stable.
Syntax
await testdriver.wait(timeout);
Arguments
| Argument | Type | Default | Description |
|---|---|---|---|
timeout |
number |
3000 |
The duration in milliseconds to wait. |
Examples
// Wait 2 seconds for an animation to complete
await testdriver.find('submit button').click();
await testdriver.wait(2000);
// Wait 5 seconds
await testdriver.wait(5000);
// Wait with default timeout (3 seconds)
await testdriver.wait();
Best Practices
- Use it for simple delays. Wait for animations, transitions, or state changes after an action.
- Do not use it to wait for an element. If you wait for a specific element to show, use
find()with atimeoutoption:// ✅ Better for waiting for elements const element = await testdriver.find('success message', { timeout: 30000 }); // ❌ Don't do this for element waiting await testdriver.wait(5000); const element = await testdriver.find('success message'); - Do not use very long timeouts. This keeps the tests efficient.
- Use it only when necessary. The TestDriver redraw detection waits automatically for the screen and the network to become stable after each action.
Установить testdriver:wait в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл testdriver:wait?
Pause the execution of the script for a specified duration.
Как установить скилл testdriver:wait?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл testdriver:wait запускает скрипты?
Нет, скилл состоит только из инструкций (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