run-electron-desktop-gui-app-example

Launch and interact with Electron desktop apps in headless environments via Playwright.

7|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/mkusaka/ccskills --skill run-electron-desktop-gui-app-example
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: run-electron-desktop-gui-app-example
Source: https://github.com/mkusaka/ccskills/tree/main/skills/run-electron-desktop-gui-app-example
Command: npx skills add https://github.com/mkusaka/ccskills --skill run-electron-desktop-gui-app-example

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill solves the problem of launching and interacting with Electron desktop applications in a headless environment, allowing agents to manipulate and interact with the UI through a Playwright REPL driver.

Core Features & Use Cases

  • Launch Electron Apps: Automates the launch of Electron desktop applications under xvfb, enabling them to run on headless Linux servers.
  • REPL Driver: Provides a REPL interface to send commands to the application, such as clicking, typing, and taking screenshots.
  • Integration with Playwright: Utilizes Playwright to interact with the UI, overcoming issues with headless environments.

Quick Start

Use the 'run-electron-desktop-gui-app-example' skill to launch the Electron app and interact with it. For example, to take a screenshot of the landing page, run: 'app ss 01-landing'.

Frequently Asked Questions about run-electron-desktop-gui-app-example

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

FAQPage Schema
How do I automate Electron desktop app UI interaction in a headless Linux server environment?▼

You can automate Electron desktop app UI interaction in a headless Linux server by launching the application under xvfb and driving it through a Playwright-based REPL driver to send commands like clicking and typing.

Can I use Playwright to launch and take screenshots of Electron apps in serverless environments?▼

Yes, you can use Playwright to launch and take screenshots of Electron apps in serverless environments by utilizing a REPL driver interface to send screenshot commands to the headless application instance.

What is a REPL driver for Electron UI automation and how does it work?▼

A REPL driver for Electron UI automation provides an interactive interface to send Playwright commands to a running Electron application, enabling agents to manipulate UI elements by clicking, typing, and capturing screenshots programmatically.

Does Playwright work with Electron apps running under xvfb on headless servers?▼

Playwright works with Electron apps running under xvfb on headless servers by initializing a REPL driver that interacts with the UI, overcoming standard headless environment limitations for automated testing.

Why does my Electron app fail to run UI automation in a headless environment?▼

Electron apps often fail UI automation in headless environments because they lack a display server, which is resolved by launching under xvfb and using a Playwright REPL driver to handle the UI interactions.

What are the limitations of automating Electron apps with a Playwright REPL driver?▼

Automating Electron apps with a Playwright REPL driver is limited to scenarios requiring automated UI interaction and may involve overhead from running xvfb and maintaining the REPL session in serverless environments.