local-testing

Automate end-to-end macOS app and bot testing via agent-browser and osascript.

1|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/andershi666/lobehub-hr-demo --skill local-testing-andershi666
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: local-testing
Source: https://github.com/andershi666/lobehub-hr-demo/tree/main/lobehub/.agents/skills/local-testing
Command: npx skills add https://github.com/andershi666/lobehub-hr-demo --skill local-testing-andershi666

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires agent-browser, ffmpeg, swift, and includes scripts (resource) components.

What problem does it solve?

Local testing of macOS apps and bots is tedious and error-prone. This skill automates the end-to-end process by combining Electron/web UI automation with agent-browser and native macOS control via osascript to standardize bot verification across multiple apps.

Core Features & Use Cases

  • Automates UI testing for Electron and web apps using the agent-browser CLI.
  • Controls native macOS chat apps (WeChat, Discord, Telegram, Slack, Lark/飞书, QQ) via osascript for bot testing.
  • Triggers on common commands like 'local test', 'test in electron', 'test desktop', 'test bot', or 'manual test' to streamline verification tasks.

Quick Start

Run the local-testing skill to automate local macOS app and bot tests across Electron/web UIs and native apps.

Frequently Asked Questions about local-testing

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

FAQPage Schema
How do I automate native macOS app testing for chat clients like Discord and WeChat?

Automating macOS app testing for native chat clients is handled through osascript, which controls UI flows and bot verifications across Discord, WeChat, Telegram, Slack, Lark, and QQ without manual intervention.

Can I run end-to-end Electron UI testing using agent-browser on macOS?

End-to-end Electron UI testing on macOS is supported by orchestrating web UI automation with the agent-browser CLI, allowing you to standardize verification tasks for Electron applications locally.

What dependencies do I need to set up local bot testing on macOS?

Local bot testing on macOS requires agent-browser for web and Electron UI automation, osascript for native app control, and optionally swift and ffmpeg to drive scripts and capture test assets.

What is the best way to verify bot behavior across multiple desktop chat apps?

Verifying bot behavior across desktop chat apps is best achieved by combining web UI automation with native macOS control via osascript, standardizing flows across popular clients like Slack, Telegram, and Lark.

Does this approach to local desktop testing support both web and native app flows?

Local desktop testing supports both web and native app flows by using agent-browser for Electron UI automation and osascript for native macOS chat applications, ensuring comprehensive end-to-end coverage.

Why does local bot testing fail when osascript cannot control native macOS apps?

Local bot testing fails when osascript lacks required macOS accessibility permissions to control native apps, preventing automated UI interactions and disrupting end-to-end verification flows.