MCPcopy Index your code
hub / github.com/InverseUI/InverseUI-Recorder

github.com/InverseUI/InverseUI-Recorder @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
234 symbols 414 edges 30 files 91 documented · 39%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

InverseUI

Record your browser actions and generate automation scripts that understand what you're trying to do. Run with your own credentials on your own machine — no cloud, no data leaving your browser. When something breaks, it fixes itself and keeps going. Full access to your local files for real-world workflows.


Getting Started

Record browser interactions and get automation code. This guide walks you through installation, capturing your first interaction, and running automated workflows.

Installation

Install the Chrome Extension

Download and install the InverseUI Chrome extension to start capturing UI interactions:

  1. Download the extension from GitHub Releases
  2. Unzip the downloaded file
  3. Open Chrome and go to chrome://extensions
  4. Enable Developer mode in the top right corner
  5. Click Load unpacked and select the unzipped folder

Once installed, you'll see the InverseUI icon in your browser toolbar.

Sign In

Before recording, sign in to your InverseUI account:

  1. Visit inverseui.com/login
  2. Sign in with your account
  3. The extension will automatically detect your session

First Recording

Let's capture your first UI interaction and generate automation code.

1. Start Recording

Click the InverseUI extension icon in your toolbar and select Start Recording. You'll see a "rec" badge indicating recording is active.

Now perform any actions you want to automate: - Click buttons and links - Fill out forms - Navigate between pages - Upload files - Use keyboard shortcuts

2. Stop Recording

When you're done, click the extension icon again and select Stop Recording.

InverseUI automatically: - Uploads your recording to the cloud - Generates Playwright automation code - Opens your recording in the dashboard

3. Review & Export

Your recording is now available at inverseui.com/track/{track_id}:

What You Get Description
Recorded Actions Every click, input, and navigation captured
Generated Code Clean Playwright code with typed parameters
Intent Detection Smart comments explaining what each action does
Reusable Functions Parameters auto-detected for flexible automation

Download the generated code or copy it directly into your project.


Run with CLI

Run your recorded automations locally with automatic error recovery.

View on PyPI

Install CLI

Requires Python 3.10+ and Google Chrome.

pip install inverseui

Login

Authenticate via browser, then paste the code into your terminal.

inverseui login

Run a Track

Execute a recorded track by its ID.

inverseui run <track_id>

Fix with AI

Automatically retry failing scripts with AI-generated fixes.

inverseui fix <track_id>

Programmatic Control

Control recording from your own scripts using the injected API:

// Available on any page when extension is installed
const api = window.INVERSEUI_EXTENSION_API;

await api.startRecording();
// ... perform actions ...
await api.stopRecording();

const actions = await api.getActions();

For the complete API reference, see Developer Guides.


License

AGPL-3.0 — If you modify or use this code, you must publish your changes under the same license.

Core symbols most depended-on inside this repo

safeSendMessage
called by 11
util/communication_utils.js
getRecState
called by 9
modules/recording.js
cleanLabelText
called by 6
util/dom_utils.js
elementText
called by 6
util/playwright_selector.js
getPlaywrightSelector
called by 6
util/playwright_selector.js
getXpaths
called by 6
util/xpath_utils.js
toggleRec
called by 4
modules/recording.js
enrichClick
called by 4
modules/action/context/radio.js

Shape

Method 124
Function 80
Class 30

Languages

TypeScript100%

Modules by API surface

modules/action/context/dropdown.js42 symbols
util/dom_utils.js22 symbols
modules/action/context/aria_snapshot.js22 symbols
modules/recording.js16 symbols
modules/action/events/click.js16 symbols
modules/action/events/input.js15 symbols
util/playwright_selector.js13 symbols
modules/action/context/choice.js12 symbols
modules/action/index.js10 symbols
modules/action/events/window.js8 symbols
modules/action/context/radio.js8 symbols
util/xpath_utils.js7 symbols

For agents

$ claude mcp add InverseUI-Recorder \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact