browser-canvas-testing

Community

Master canvas interactions in VS Code tests.

AuthorGrimblaz
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Canvas-based applications rendered in VS Code cannot be interacted with using traditional DOM selectors. This Skill provides guidance to reliably automate interactions with canvas content, including coordinate translation and safe use of Playwright-based actions.

Core Features & Use Cases

  • Click canvas objects by translating game-space coordinates to CSS page coordinates and using runPlaywrightCode.
  • Verify canvas visuals with screenshotPage and read or inspect game state through page.evaluate workflows.
  • Consider canvas rendering modes (e.g., FIT vs RESIZE) and common pitfalls like rendering delays or multiple canvases.

Quick Start

Interact with canvas-based games by converting game-space coordinates to CSS page coordinates and clicking via runPlaywrightCode.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: browser-canvas-testing
Download link: https://github.com/Grimblaz/agent-orchestra/archive/main.zip#browser-canvas-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.