Xcelerate 0.1.5
dotnet add package Xcelerate --version 0.1.5
NuGet\Install-Package Xcelerate -Version 0.1.5
<PackageReference Include="Xcelerate" Version="0.1.5" />
<PackageVersion Include="Xcelerate" Version="0.1.5" />
<PackageReference Include="Xcelerate" />
paket add Xcelerate --version 0.1.5
#r "nuget: Xcelerate, 0.1.5"
#:package Xcelerate@0.1.5
#addin nuget:?package=Xcelerate&version=0.1.5
#tool nuget:?package=Xcelerate&version=0.1.5
Xcelerate SDK for .NET
Xcelerate is a high-performance, lightweight Chrome DevTools Protocol (CDP) client tailored for the .NET ecosystem. Built on a performance-optimized Rust core, it provides an idiomatic C# wrapper that combines native speed with the safety and ease of use expected by .NET developers.
Features
- Managed Lifecycle: Fully supports
IDisposablepatterns to ensure clean browser and process termination. - Async/Await First: Standard
Task-based asynchronous API for modern C# applications. - Advanced Stealth Support: Built-in mechanisms to neutralize automation detection (masking WebDriver, mocking Chrome APIs).
- NativeAOT Compatible: Designed for high performance and low memory footprints.
- Simplified Deployment: Bundles the required native binaries for Windows (x64), removing the need for external C++ or Rust installations on the target machine.
Installation
Install the package via the .NET CLI:
dotnet add package Xcelerate
Basic Usage
Xcelerate emphasizes a clean, readable API. The library handles port polling, browser initialization, and handshake recovery automatically.
using Xcelerate;
// Launch a stealth-hardened browser instance with intelligent defaults
// (Optional: headless=true, stealth=true, detached=true)
using var browser = await Browser.Launch(new BrowserConfig());
// Initialize a new page and perform navigation
using var page = await browser.NewPage("https://www.example.com");
// Capture page metadata
string title = await page.Title();
Console.WriteLine($"Current title: {title}");
// Perform interactions
using var element = await page.WaitForSelector("button.primary");
await element.Click();
// Generate high-resolution full-page screenshots
byte[] screenshot = await page.ScreenshotFull();
File.WriteAllBytes("capture.png", screenshot);
Advanced Configuration
The SDK supports specialized launch options for complex automation scenarios:
- Stealth Mode: Applies binary patches and runtime JavaScript masking to bypass bot detection.
- Detached Mode: Allows the browser process to persist independently of the parent .NET application.
- Headless=New: Utilizes the modern Chromium headless engine for improved rendering and compatibility.
Compatibility
- Frameworks: .NET 8.0, .NET 9.0, .NET 10.0+
- Platform: Windows x64 (Automatic binary deployment via NuGet)
License
This project is distributed under the MIT License.
| Product | Versions 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 is compatible. 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. |
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.