Motus.Cli 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global Motus.Cli --version 1.0.2
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Motus.Cli --version 1.0.2
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Motus.Cli&version=1.0.2
                    
nuke :add-package Motus.Cli --version 1.0.2
                    

Motus.Cli

Command-line tool for the Motus browser automation framework. Run tests, record interactions, manage browser installations, and inspect traces from your terminal.

Installation

# Global install
dotnet tool install -g Motus.Cli

# Local install (per-project)
dotnet tool install Motus.Cli

# Update
dotnet tool update -g Motus.Cli

Requires .NET 8.0 SDK or later.

Commands

motus run

Discovers and runs tests from compiled assemblies.

# Run all tests
motus run MyTests.dll

# Filter and parallelize
motus run MyTests.dll --filter "Category=Smoke" --workers 4

# Output JUnit XML for CI
motus run MyTests.dll --reporter junit --output results.xml
Option Default Description
[assemblies] none One or more test assembly paths
--filter none Test filter expression
--reporter console Reporter: console, junit, html, trx
--output none Output file path for the reporter
--workers auto Number of parallel workers (auto = processor count)
--visual false Launch the visual runner on port 5100

motus record

Launches a headed browser, records interactions, and emits C# test code.

# Record a session
motus record --url https://example.com --output LoginTest.cs

# Connect to an existing browser
motus record --connect ws://localhost:9222 --framework xunit
Option Default Description
--url none Starting URL to navigate to
--output none Output file path for generated code
--framework mstest Target test framework: mstest, xunit, nunit
--connect none WebSocket endpoint of an existing browser
--class-name RecordedTest Generated test class name
--method-name Test Generated test method name
--namespace RecordedTests Generated namespace
--preserve-timing false Include delays between actions

motus install

Downloads and installs a browser binary.

# Install Chromium
motus install chromium

# Install a specific revision
motus install chrome --revision 1234567

# Install to a custom path
motus install firefox --path ./browsers
Option Default Description
--channel chromium Browser: chromium, chrome, edge, firefox
--revision latest Specific browser revision to install
--path default Custom installation directory

motus trace show

Opens a recorded trace in the visual runner.

motus trace show trace.zip --port 5200

motus screenshot

Captures a screenshot from a URL.

motus screenshot https://example.com --output page.png

motus pdf

Generates a PDF from a URL.

motus pdf https://example.com --output page.pdf

motus codegen

Source code generation utilities.

motus update-protocol

Updates the bundled CDP protocol JSON files to the latest version.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.1.0 92 9/15/2026
1.0.15 149 7/29/2026
1.0.14 128 6/10/2026
1.0.13 128 6/4/2026
1.0.12 136 5/26/2026
1.0.11 1,302 5/2/2026
1.0.10 1,310 4/21/2026
1.0.9 1,303 4/14/2026
1.0.8 1,301 4/10/2026
1.0.7 1,312 4/5/2026
1.0.6 1,354 3/30/2026
1.0.5 1,397 3/30/2026
1.0.4 1,383 3/30/2026
1.0.3 1,378 3/30/2026
1.0.2 1,372 3/29/2026
1.0.1 1,389 3/29/2026