argent-device-interact
argent-device-interact enables developers to script and automate user interface interactions across multiple platforms—iOS simulators, Android emulators, and Chromium-based applications. Built by Software Mansion, this tool provides programmatic control over device interactions, making it ideal for testing workflows, UI automation, and cross-platform application validation.
argent-device-interact enables automation across iOS simulators, Android emulators, and Chromium-based applications. Built by Software Mansion, it provides programmatic control over device interactions, making it ideal for testing workflows, UI automation, and cross-platform application validation.
AI-generated summary based on this skill's SKILL.md
Install
software-mansion/argent/argent-device-interact · repository language: TypeScript
git clone https://github.com/software-mansion/argent
cp -r argent/packages/skills/skills/argent-device-interact ~/.claude/skills/argent-device-interactFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What platforms does argent-device-interact support for automation?
argent-device-interact enables automation across iOS simulators, Android emulators, and Chromium-based applications. Built by Software Mansion, it provides programmatic control over device interactions, making it ideal for testing workflows, UI automation, and cross-platform application validation.
Can argent-device-interact automate mobile app testing gestures?
Yes, argent-device-interact supports complex gestures including swipe, pinch, rotate, and drag-and-drop interactions. It also handles long press for context menus, hardware button presses, and device orientation rotation, enabling comprehensive gesture-based testing on both iOS and Android platforms.
How does argent-device-interact discover and inspect UI elements?
argent-device-interact discovers UI elements via accessibility trees and DOM inspection. It can inspect component trees in React Native debuggers and provide detailed element descriptions, allowing developers to locate and interact with specific UI components programmatically.
Does argent-device-interact support screenshot and element discovery on mobile?
Yes, argent-device-interact provides screenshot capabilities and element discovery features for mobile platforms. It enables developers to capture device state and inspect UI hierarchies, supporting both accessibility tree analysis and DOM-based element location.
What browser automation features does argent-device-interact offer?
argent-device-interact manages Chromium tabs, cookies, and web storage for browser automation via Chrome DevTools Protocol (CDP). It supports multi-tab browser control and web storage management, enabling comprehensive Chromium-based application testing.
Can argent-device-interact batch multiple device actions into single calls?
Yes, argent-device-interact supports batching multiple device actions into single sequenced calls. This capability allows developers to group related interactions—such as typing text into app fields, scrolling, launching apps, and waiting for UI elements—into efficient, coordinated sequences.
SKILL.md
rendered from the published skill — quoted content, verbatim
Unified tool surface
All interaction tools below accept a udid parameter and auto-dispatch iOS vs Android based on its shape (UUID → iOS simulator, chromium-cdp-<port> → Chromium (CDP) app, anything else → Android adb serial). You use the same tool names on every platform.
Chromium (CDP) app = any Chromium runtime exposing a Chrome DevTools Protocol endpoint: an Electron app (boot it with boot-device + electronAppPath), or any Chromium-family browser (Chrome/Brave/Edge) launched with --remote-debugging-port. The latter is auto-discovered by list-devices on port 9222 plus anything in ARGENT_CHROMIUM_PORTS. The same describe/tap/swipe/keyboard/screenshot surface drives all of them.
Multi-tab / windows (Chromium only): a Chromium device may have several tabs
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 2 files
packages/skills/skills/argent-device-interact/SKILL.md
packages/skills/skills/argent-device-interact/references/gesture-examples.md