electron

Automate Electron desktop app testing via CDP attach mode.

40.6k|2.9k|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/stablyai/orca --skill electron-stablyai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: electron
Source: https://github.com/stablyai/orca/tree/main/.agents/skills/electron
Command: npx skills add https://github.com/stablyai/orca --skill electron-stablyai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Launch, automate, and validate Electron desktop apps using playwright-cli via Chrome DevTools Protocol. Use this skill to validate UI changes in Orca, test features in the running Electron app, verify code fixes work end-to-end, or automate any Electron app (VS Code, Slack, Discord, etc.). Triggers include "validate in Electron", "test in the app", "verify the fix", "check the UI", "/electron", "automate Slack app", "control VS Code", or any task requiring interaction with a running Electron application.

Core Features & Use Cases

  • Attach to a running Electron app via CDP and snapshot its UI state for validation.
  • Automate interactions, verify UI changes, and run end-to-end validation across Electron-based apps (Slack, VS Code, Discord, Notion, etc.).
  • Use safe, guided workflows with explicit prefixing to avoid terminating processes unexpectedly.

Quick Start

Launch an Electron app with remote debugging enabled and run an automation sequence to validate the UI.

Frequently Asked Questions about electron

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

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

Automate Electron desktop apps by launching the target application with a remote debugging port and using playwright-cli to attach via Chrome DevTools Protocol to snapshot and interact with the UI. This validates UI correctness and feature workflows across apps like Slack or VS Code.

Can I attach Playwright to a running Electron app to validate UI changes?

Yes, you can attach Playwright to a running Electron app using CDP attach mode. Launch the Electron app with a remote debugging port enabled, then use playwright-cli to connect, snapshot the UI state, and validate UI changes or verify code fixes end-to-end.

Does this approach work for UI regression testing in apps like VS Code and Discord?

Yes, this approach supports UI regression testing and feature validation across Electron-based apps including VS Code, Discord, Slack, and Notion. It attaches via Chrome DevTools Protocol to interact with the running application and verify UI correctness.

What is the best way to control an Electron app for feature validation without terminating the process?

Use safe, guided workflows with explicit prefixing to control an Electron app via CDP attach mode without terminating processes unexpectedly. This connects playwright-cli to the running app's remote debugging port to automate interactions and verify features.

Why do I need a remote debugging port to test my Electron application?

A remote debugging port is required to test an Electron application because playwright-cli uses Chrome DevTools Protocol attach mode to connect to the running app. This port enables snapshotting UI state, automating interactions, and running end-to-end validation workflows.

What are the limitations of using CDP attach mode for Electron UI testing?

CDP attach mode for Electron UI testing requires the target app to be manually launched with a remote debugging port. It relies on guided workflows with explicit prefixing to avoid terminating processes unexpectedly, making it dependent on correct initial app configuration.