Motus

•
16
•

Provides an extensible browser automation and testing framework for .NET, communicating directly with Chromium and Firefox over WebSocket without Node.js dependencies.

Motus is a pioneering .NET framework for browser automation and testing, designed from the ground up for extensibility and performance. Unlike other frameworks that rely on JavaScript wrappers or complex extension models, Motus communicates directly with Chromium (via CDP) and Firefox (via WebDriver BiDi) over WebSocket, eliminating Node.js dependencies. Its architecture ensures that all core features, from selector strategies to reporters, are built upon the same public plugin interfaces available to third-party developers, ensuring architectural honesty and flexibility. It includes advanced features like source-generated protocol bindings, Roslyn analyzers for compile-time diagnostics, a test recorder, a Blazor visual runner, and an MCP server, empowering developers and AI agents with robust browser interaction capabilities.

Key Features

01Direct browser communication with Chromium (CDP) and Firefox (WebDriver BiDi), eliminating Node.js dependencies.
02Fully extensible architecture with public plugin interfaces for custom selectors, lifecycle hooks, and reporters.
03Built-in accessibility auditing (WCAG 2.1), performance metric collection (Core Web Vitals), and JavaScript/CSS code coverage.
04Roslyn analyzers for compile-time diagnostics and code fixes, plus source-generated protocol bindings for NativeAOT.
05CLI tools for test recording, Page Object Model generation, and a Blazor-based visual test runner with live screencast.
0614 GitHub stars

Use Cases

01Integrating browser automation capabilities with AI agents via a Model Context Protocol (MCP) server.
02Developing high-performance, automated end-to-end tests for web applications in .NET.
03Generating Page Object Models and recording user interactions to accelerate test creation and maintenance.