testdriver-agent
How the TestDriver agent behaves on GitHub issues, pull requests, and @mentions
Pause the execution of the script for a specified duration.
Claude Code
$ npx -y skills add testdriverai/testdriverai --skill testdriver-wait --agent claude-code
Codex
$ npx skills add testdriverai/testdriverai --skill testdriver-wait -a codex -y
Cursor
$ npx skills add testdriverai/testdriverai --skill testdriver-wait -a cursor -y
Gemini CLI
$ npx skills add testdriverai/testdriverai --skill testdriver-wait -a gemini-cli -y
GitHub Copilot
$ npx skills add testdriverai/testdriverai --skill testdriver-wait -a github-copilot -y
OpenCode
$ npx skills add testdriverai/testdriverai --skill testdriver-wait -a opencode -y
Windsurf
$ npx skills add testdriverai/testdriverai --skill testdriver-wait -a windsurf -y
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');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
Produce the "Playwright 1.xx API Review" artifact for a range of commits - the public API additions and the breaking or behavior…
Write, refine, run, and QA promptfoo evaluation suites: promptfooconfig.yaml, prompts, providers, vars, tests, assertions,…
DeepEval evaluation workflow for AI agents and LLM applications. TRIGGER when the user wants to evaluate or improve an AI agent,…