testdriver:right-click

Perform right-click actions on elements to open context menus.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Right-click actions are essential for accessing context menus in UI testing and automation, enabling efficient interaction with complex interfaces.

Core Features & Use Cases

  • Right-click on an Element instance to trigger its context menu.
  • Right-click with a selector directly via ai.rightClick('selector') for dynamic UI elements.
  • Use cases include accessing inline options, context menus in desktop or web apps, and performing auxiliary actions from menus.

Quick Start

Right-click an element to open its context menu using the AI client.

Frequently Asked Questions about testdriver:right-click

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

FAQPage Schema
How do I automate a right-click to open a context menu in UI testing?

Automating a right-click to open a context menu involves simulating the action on a target UI element. You can trigger this by calling the right-click method on a specific Element instance or by passing a selector directly to the automation client.

Can I right-click dynamic UI elements using a CSS selector?

Yes, you can right-click dynamic UI elements by passing a selector string directly to the ai.rightClick() method. This allows your automation script to target and interact with elements that may not have a pre-existing Element instance.

What is the best way to access inline options during web automation?

The best way to access inline options during web automation is to perform a right-click action on the target element. This triggers the context menu, allowing you to select auxiliary actions and navigate complex interface workflows efficiently.

Does UI automation support right-clicking elements in desktop applications?

Yes, UI automation supports right-clicking elements in desktop applications. The right-click action is designed to trigger context menus across various platforms, enabling interaction with auxiliary menus and inline options in desktop software.

When should I use a selector versus an Element instance for right-click automation?

Use an Element instance when you already have a reference to the target element in your automation script. Use a selector directly via ai.rightClick() for broad automation scenarios where you need to target dynamic UI elements without a pre-existing instance.