Xcelerate
Xcelerate is a high-performance, lightweight Chrome DevTools Protocol (CDP) client designed for Rust, .NET, Python, and JavaScript (Node.js). It provides a modular architecture that combines a fast Rust core with idiomatic wrappers for every major language.
Key Features
- Automated Process Management: Seamlessly discovers and initializes Chrome or Edge binaries on Windows.
- Advanced Stealth Integration: Built-in binary patching and runtime JavaScript payloads to neutralize automation detection.
- Async Implementation: Fully optimized for
tokioin Rust andTask-based async/await in C#. - Fluent API: Designed for readability with chained method patterns for common interactions like clicking, typing, and hovering.
- Headless=New Support: Utilizes the modern Chrome headless engine for superior compatibility with state-of-the-art web applications.
Installation
Rust
Add the following to your Cargo.toml:
[]
= "0.1.3"
= { = "1.0", = ["full"] }
.NET / C#
dotnet add package Xcelerate
Python
JavaScript (Node.js)
Usage Examples
Rust Implementation
use ;
async
Python Implementation
Xcelerate for Python offers full asyncio support with a very lightweight API.
# Intelligent defaults: headless=True, stealth=True, detached=True
= await
= await
await
JavaScript Implementation (Node.js)
Xcelerate for Node.js provides a modern async/await API that feels natural for web developers.
const = require;
;
C# Implementation
Xcelerate offers idiomatic .NET support with standard IDisposable patterns for resource management.
using Xcelerate;
// Launch browser with modern headless mode and stealth patches
// (Optional: headless=true, stealth=true, detached=true)
using var browser = await Browser.Launch(new BrowserConfig());
// Create a new page and perform navigation
using var page = await browser.NewPageAsync("https://pixelscan.net/");
// Wait for a selector and extract results
using var element = await page.WaitForSelectorAsync("body");
string title = await page.GetTitleAsync();
Console.WriteLine($"Page Title: {title}");
// Capture full-page documentation of results
byte[] screenshot = await page.ScreenshotFullAsync();
File.WriteAllBytes("result.png", screenshot);
Advanced Capabilities
Stealth and Anti-Detection
Xcelerate implements a defense-in-depth strategy to bypass bot detection services:
- Binary Patching: Actively replaces
cdc_signatures in the browser binary. - Runtime Masking: Injects a hardened JavaScript payload to hide
navigator.webdriver, mockwindow.chrome, and protect the Permissions API. - Detached Logic: Supports spawning browser instances that persist independently of the parent application.
Development and Contributions
Xcelerate is actively maintained. To contribute or modify the cross-language bindings, refer to the automation scripts located in the scripts/ directory.
License
Distributed under the MIT License.