electron

Automate Electron desktop apps via Chrome DevTools Protocol.

2|Updated Jan 18, 2026
One-click install
npx skills add https://github.com/ipruning/skills --skill electron-ipruning
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: electron
Source: https://github.com/ipruning/skills/tree/main/electron
Command: npx skills add https://github.com/ipruning/skills --skill electron-ipruning

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automate interactions with Electron-based desktop apps to reduce manual testing and repetitive UI tasks by leveraging a Chrome DevTools Protocol connection.

Core Features & Use Cases

  • CDP-based control: Connect to Electron apps exposing a CDP port to drive UI interactions.
  • End-to-end automation: Launch apps with remote debugging, snapshot UI state, and perform clicks, text input, and navigation.
  • Multi-window & webview support: Manage multiple windows and embedded webviews within Electron apps for comprehensive automation.

Quick Start

Launch your Electron app with remote debugging and connect agent-browser to its CDP port to begin automation.

Frequently Asked Questions about electron

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

FAQPage Schema
How do I automate UI testing for Electron desktop apps?

Electron UI automation is achieved by connecting to the app's Chrome DevTools Protocol port. You launch the target app with the --remote-debugging-port flag, then use an agent-browser connection to drive clicks, text input, and navigation across sessions.

What is CDP-based control for Electron apps?

CDP-based control connects automation scripts to Electron apps via the Chrome DevTools Protocol. This allows developers to programmatically snapshot UI state, manage multiple windows, and perform end-to-end interactions within the desktop application.

Can I manage multiple windows and webviews within Slack or VS Code automation?

Yes, multi-window and webview support allows you to manage multiple windows and embedded webviews within Slack, VS Code, and other Electron apps. This enables comprehensive automation across complex desktop application interfaces during a single session.

How do I launch an Electron app with remote debugging for UI automation?

Launch your Electron app by appending the --remote-debugging-port flag to expose a CDP endpoint. Once the remote debugging port is active, connect your automation agent to manage tabs, snapshot UI state, and execute end-to-end interactions.

Does this UI automation approach work with embedded webviews across sessions?

Yes, this approach works with embedded webviews across sessions by leveraging the Chrome DevTools Protocol connection. It specifically supports managing tabs and interacting with embedded webviews comprehensively within Electron desktop apps.

What are the limitations of using CDP for Electron desktop app automation?

A key limitation of CDP-based Electron automation is that the target desktop app must be explicitly launched with the --remote-debugging-port flag. Without this exposed CDP port, the agent cannot connect to manage webviews, tabs, or perform UI interactions.