Skip to content

serenity-is/devtools

Repository files navigation

Serenity Developer Tools

A Chromium DevTools extension for inspecting and debugging Serenity applications.

Serenity DevTools

Features

  • 🔍 Widget Inspector - Browse and inspect Serenity widgets in your application
  • 🎯 Element Picker - Click on elements to find their corresponding widget
  • 📋 Property Viewer - View widget properties, options, and state
  • 🔗 DOM Highlighting - Highlight DOM elements associated with widgets
  • 📍 Scroll Into View - Quickly navigate to widget elements in the page

Installation

From Source

  1. Clone this repository
  2. Install dependencies:
    pnpm install
  3. Build the extension:
    pnpm run build
  4. Load the extension in Chrome:
    • Navigate to chrome://extensions
    • Enable "Developer mode"
    • Click "Load unpacked"
    • Select the dist folder

Development

Start the development server with hot reload:

pnpm run watch

Run with a test browser:

pnpm run dev:chromium

Usage

  1. Open Chrome DevTools (F12)
  2. Navigate to the "Serenity" panel
  3. Browse the widget tree or use the inspector to select widgets on the page
  4. Click on any widget to view its details, properties, and associated DOM element

Scripts

Command Description
pnpm run build Build for production
pnpm run watch Development mode with hot reload
pnpm run dev:chromium Run in Chromium with web-ext
pnpm run lint Run ESLint
pnpm run check TypeScript type checking

About

Serenity Client Side Developer Tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •