Skip to content
Back to skills

Testdriver:Performing Actions

ASecurity

Click, type, hover, scroll and more with TestDriver

  • 243 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 6, 2026
ai-agentsjavascriptjavaapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 6, 2026

npx -y skills add testdriverai/testdriverai --skill testdriver:performing-actions --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Testdriver:Performing Actions?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Testdriver:Performing Actions
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/testdriverai-testdriver-performing-actions-testdriverai/badge)](https://www.skillsdirectory.com/skills/testdriverai-testdriver-performing-actions-testdriverai)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: testdriver:performing-actions
description: Click, type, hover, scroll and more with TestDriver
---
<!-- Generated from performing-actions.mdx. DO NOT EDIT. -->

## Performing Actions

TestDriver provides a variety of actions you can perform, like [clicking](/v7/click), [typing](/v7/type), [hovering](/v7/hover), and [scrolling](/v7/scroll). For a full list, see the [API Reference](/v7/click).

```javascript
// Clicking
await testdriver.find('submit button').click();
await testdriver.find('file item').doubleClick();
await testdriver.find('text area').rightClick();

// Typing
await testdriver.find('email input').type('user@example.com');
await testdriver.find('password input').type('secret', { secret: true });

// Keyboard shortcuts
await testdriver.pressKeys(['enter']);
await testdriver.pressKeys(['ctrl', 'c']);

// Hovering
await testdriver.find('dropdown menu').hover();

// Scrolling
await testdriver.scroll('down', 500);

// Waiting
await testdriver.wait(2000); // Wait 2 seconds for animation/state change

// Extracting information from screen
const price = await testdriver.extract('the total price');
const orderNumber = await testdriver.extract('the order confirmation number');
```

## Chaining Actions

TestDriver supports method chaining for cleaner code:

```javascript
// Chain find() with actions
const button = await testdriver.find('submit button').click();
```

Or save element reference for later use:

```javascript
const button = await testdriver.find('submit button');
await button.click();
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…