testdriver:mouse-up

Release the mouse button at the current cursor position.

238|34|Updated Aug 25, 2024
One-click install
npx skills add https://github.com/testdriverai/testdriverai --skill testdriver-mouse-up
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: testdriver:mouse-up
Source: https://github.com/testdriverai/testdriverai/tree/main/ai/skills/testdriver%3Amouse-up
Command: npx skills add https://github.com/testdriverai/testdriverai --skill testdriver-mouse-up

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Releasing the mouse button is a necessary step to complete drag-and-drop and selection gestures initiated by mouseDown, ensuring deterministic UI automation flows.

Core Features & Use Cases

  • Releases the mouse button at the current cursor position to end a drag operation.
  • Supports completing drag-and-drop, text selection, and window/resizer interactions in automated tests across web and desktop apps.
  • Works with the TestDriver SDK to provide reliable and repeatable input sequences during end-to-end testing.

Quick Start

Release the mouse button at the current cursor position by calling ai.mouseUp().

Frequently Asked Questions about testdriver:mouse-up

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I release the mouse button to finish a drag operation in UI automation?▼

To release the mouse button and finish a drag operation in UI automation, call the mouse-up command at the current cursor position. It completes the drag-and-drop or selection gesture without requiring parameters.

What is the best way to complete text selection gestures in automated web testing?▼

The best way to complete text selection gestures in automated web testing is to use a mouse-up command. It deterministically ends the selection workflow by releasing the mouse button at the current cursor position.

Can I use mouse-up for window resizing interactions in desktop apps?▼

Yes, you can use mouse-up for window resizing interactions in desktop apps. It releases the mouse button at the current cursor position to finalize the resizer gesture during end-to-end testing.

Do I need to pass coordinates to release the mouse button during an automated drag-and-drop?▼

No, you do not need to pass coordinates to release the mouse button during an automated drag-and-drop. The command requires no parameters and releases at the current cursor position.

Why does my drag-and-drop workflow fail to complete in end-to-end testing?▼

Your drag-and-drop workflow fails to complete in end-to-end testing because the mouse button is not released. Applying a mouse-up command ensures deterministic completion of the drag operation.

Does the mouse-up command work with the TestDriver SDK for deterministic UI testing?▼

Yes, the mouse-up command works with the TestDriver SDK to provide reliable and repeatable input sequences. It returns a Promise that resolves when the release action completes for deterministic UI testing.