MASS4.Guinevere.Scripting
7.0.0
dotnet add package MASS4.Guinevere.Scripting --version 7.0.0
NuGet\Install-Package MASS4.Guinevere.Scripting -Version 7.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MASS4.Guinevere.Scripting" Version="7.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MASS4.Guinevere.Scripting" Version="7.0.0" />
<PackageReference Include="MASS4.Guinevere.Scripting" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MASS4.Guinevere.Scripting --version 7.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MASS4.Guinevere.Scripting, 7.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MASS4.Guinevere.Scripting@7.0.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MASS4.Guinevere.Scripting&version=7.0.0
#tool nuget:?package=MASS4.Guinevere.Scripting&version=7.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Guinevere.Scripting
Drives a Guinevere UI without a window, so pointer-driven behavior — drags, docking, splitters, menus — can be exercised in tests, in CI, or while debugging.
Not referenced by the core library; add it only where you need it.
Injecting input directly
var input = new ScriptedInputHandler();
var gui = new Gui { Input = input };
input.MoveTo(50, 50);
input.PressButton();
// ... render a frame ...
input.NewFrame(); // once per frame, to roll the press/release edges
Replaying a JSON script
{
"width": 1400,
"height": 900,
"steps": [
{ "action": "move", "x": 40, "y": 59 },
{ "action": "press", "button": "left" },
{ "action": "move", "x": 1220, "y": 300 },
{ "action": "dump", "path": "mid-drag.png" },
{ "action": "release", "button": "left" },
{ "action": "expectCapture", "value": "none" }
]
}
var script = InputScript.FromJson(File.ReadAllText(path));
var player = new InputScriptPlayer(input, outputDirectory: "artifacts");
var passed = player.Play(script, gui, DrawMyUi);
Play returns false if any expect… step failed, so a script doubles as a CI check. See
InputAction for the full list of steps.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. net11.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- MASS4.Guinevere (>= 7.0.0)
- SkiaSharp (>= 4.157.0)
-
net11.0
- MASS4.Guinevere (>= 7.0.0)
- SkiaSharp (>= 4.157.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on MASS4.Guinevere.Scripting:
| Package | Downloads |
|---|---|
|
MASS4.Guinevere.Profiling
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 7.0.0 | 329 | 11/22/2026 |
| 6.7.0 | 708 | 11/13/2026 |
| 6.6.0 | 460 | 11/5/2026 |
| 6.5.0 | 342 | 10/31/2026 |
| 6.4.1 | 250 | 10/26/2026 |
| 6.4.0 | 243 | 10/21/2026 |
| 6.3.0 | 127 | 10/15/2026 |
| 6.2.0 | 157 | 10/14/2026 |
| 6.1.0 | 196 | 10/13/2026 |
| 6.0.0 | 206 | 10/10/2026 |
| 5.9.0 | 162 | 10/6/2026 |
| 5.8.0 | 141 | 10/5/2026 |
| 5.7.0 | 213 | 10/3/2026 |
| 5.6.1 | 162 | 10/2/2026 |
| 5.6.0 | 113 | 10/2/2026 |
| 5.4.0 | 148 | 9/30/2026 |
| 5.3.0 | 132 | 9/29/2026 |
| 5.2.0 | 140 | 9/28/2026 |
| 5.1.0 | 113 | 9/27/2026 |
| 5.0.0 | 117 | 9/26/2026 |
Loading failed