smoke-testing-web-games

Automate web game smoke tests in a headless browser with Playwright.

11|2|Updated May 7, 2026
One-click install
npx skills add https://github.com/abagames/agentic-gamedev-skills --skill smoke-testing-web-games
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: smoke-testing-web-games
Source: https://github.com/abagames/agentic-gamedev-skills/tree/main/.agents/skills/smoke-testing-web-games
Command: npx skills add https://github.com/abagames/agentic-gamedev-skills --skill smoke-testing-web-games

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the smoke testing of web games, ensuring they run without errors in a real browser environment, catching issues that might not be detected in simulated tests.

Core Features & Use Cases

  • Browser-based Testing: Tests web games in a headless browser to catch console errors, uncaught exceptions, and crashes.
  • Input Simulation: Simulates user input to verify game functionality under various conditions.
  • Use Case: After implementing or changing a web game, use this Skill to ensure it runs smoothly in a real browser, catching any issues that might cause crashes or errors.

Quick Start

Run the smoke test on your game by executing the following command in your project directory: node scripts/smoke-test.mjs path/to/index.html

Frequently Asked Questions about smoke-testing-web-games

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

FAQPage Schema
How do I automate smoke testing for web games to detect console errors?

Automate web game smoke testing by loading the game in a headless browser, idling, and sending input bursts to detect console errors, uncaught exceptions, or crashes. This verifies runtime health in a real browser environment.

Can I use Playwright to check my web game for uncaught exceptions?

Yes, you can use Playwright with Chromium to check web games for uncaught exceptions. The Skill loads your game in a headless browser and simulates input to catch runtime errors that simulated tests might miss.

What do I need to run automated browser testing on a web game?

You need Node 18+ and Playwright with Chromium installed to run automated browser testing on a web game. These prerequisites allow the script to load HTML files and simulate user input in a headless environment.

How do I run a smoke test on my web game using Node.js?

Run the smoke test by executing `node scripts/smoke-test.mjs path/to/index.html` in your project directory. This loads your game in a headless browser to monitor for crashes and errors during input simulation.

Does automated smoke testing evaluate web game gameplay quality?

No, automated smoke testing does not evaluate gameplay quality. It checks runtime health by loading the game in a headless browser and simulating input to detect console errors, uncaught exceptions, or crashes only.

Why does my web game crash in a headless browser but not in automated tests?

Simulated tests often miss runtime issues that occur in a real browser environment. Running web game smoke tests in a headless browser with simulated input bursts catches console errors and uncaught exceptions that simulated tests miss.