testdriver-agent
How the TestDriver agent behaves on GitHub issues, pull requests, and @mentions
Pause the execution of the script for a specified duration.
$ npx -y skills add testdriverai/testdriverai --skill testdriver-wait --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/testdriver-waitContext preview
The summary Claude sees to decide when to auto-load this skill.
Pause the execution of the script for a specified duration.
name: testdriver:wait description: Pause the execution of the script for a specified duration.
<!-- Generated from wait.mdx. DO NOT EDIT. -->
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.
await testdriver.wait(timeout);
| Argument | Type | Default | Description | | --------- | -------- | ------- | ------------------------------------- | | `timeout` | `number` | `3000` | The duration in milliseconds to wait. |
// 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(); // ✅ 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');Repo: testdriverai/testdriverai
How the TestDriver agent behaves on GitHub issues, pull requests, and @mentions
Deploy TestDriver on your AWS infrastructure using CloudFormation
How TestDriver learns your app and caches what it discovers for instant, deterministic replays