Installs into .claude/skills of the current project.
Are you the author of Testdriver:Making Assertions?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/testdriverai-testdriver-making-assertions-testdriverai)
---
name: testdriver:making-assertions
description: Verify application state with AI-powered assertions
---
<!-- Generated from making-assertions.mdx. DO NOT EDIT. -->
## Making Assertions
Use AI-powered assertions to verify application state:
```javascript
// Verify visibility
await testdriver.assert('login page is displayed');
await testdriver.assert('submit button is visible');
await testdriver.assert('loading spinner is not visible');
// Verify content
await testdriver.assert('page title is "Welcome"');
await testdriver.assert('success message says "Account created"');
await testdriver.assert('error message contains "Invalid email"');
// Verify state
await testdriver.assert('checkbox is checked');
await testdriver.assert('dropdown shows "United States"');
await testdriver.assert('button is disabled');
// Verify visual appearance
await testdriver.assert('submit button is blue');
await testdriver.assert('form has red border');
```
<Info>Assertions are not cached and always re-evaluated to ensure accuracy.</Info>