基于 Patchright 构建的隐身浏览器自动化 — 这是一个修复了 CDP 泄露、移除了 navigator.webdriver 并修正了无头指示器的 Playwright 分支。可作为 免费本地 SDK 或 云托管服务.
在 WebGL、Canvas、音频和 WebRTC 中加入噪声,让每个会话呈现一致、真实的指纹。
贝塞尔曲线鼠标移动、带错误的可变打字速度、真实的滚动模式。
自动配置 BR、US、DE、JP 等地区的语言环境、时区和代理地理路由。
Cookie 和浏览器状态在会话间保留 — 本地文件或云端管理。
云端会话通过 Chrome DevTools Protocol 连接 — 与本地 Playwright 使用相同的 API。
无需 API 密钥,零成本 — 在您的机器上运行 Patchright。升级到云端可获得托管基础设施。
Abrasio Node.js SDK 参考
模拟真实人类交互的工具集:鼠标移动、点击、输入、滚动和阅读均遵循真实用户的行为模式。
import {
humanMoveTo, humanClick, humanType,
humanScroll, humanWait, simulateReading,
} from 'abrasio-sdk';
const page = await abrasio.newPage();
await page.goto('https://example.com');
// Move mouse along a Bezier curve (Fitts's Law timing)
await humanMoveTo(page, 500, 300);
// Click at a random point within the element (not dead-center)
await humanClick(page, { selector: 'button.submit' });
// Type with variable speed, burst mode, think pauses, and 2% typo rate
await humanType(page, 'web scraping best practices', {
selector: 'input[name="q"]',
minDelayMs: 30,
maxDelayMs: 150,
mistakeProbability: 0.02,
});
// Smooth scroll with cubic ease-out
await humanScroll(page, { direction: 'down', amount: 400 });
// Wait using Beta distribution (skewed toward shorter waits)
await humanWait(0.5, 2.0);
// Simulate reading a page (scrolls randomly while waiting)
await simulateReading(page, { minSeconds: 3, maxSeconds: 8 });