xcelerate 1.0.10 copy "xcelerate: ^1.0.10" to clipboard
xcelerate: ^1.0.10 copied to clipboard

Chrome DevTools Protocol client for Dart/Flutter, backed by the xcelerate Rust core.

example/example.dart

// A minimal end-to-end example for the xcelerate Dart bindings.
//
// Build the native library first (see the package README), then run:
//
//   dart run example/example.dart
import 'package:xcelerate/xcelerate.dart';

Future<void> main() async {
  final browser = await Browser.launch(
    const BrowserConfig(
      headless: true,
      detached: true,
      executablePath: null, // auto-discover Chrome or Edge
      plugins: ['stealth', 'human'], // opt into the built-in plugins
    ),
  );

  try {
    final page = await browser.newPage('https://example.com');
    await page.waitForNavigation();
    print('Title: ${await page.title()}');
  } finally {
    await browser.closeBrowser();
    browser.close();
  }
}
0
likes
160
points
379
downloads

Documentation

API reference

Publisher

verified publisherchaoswarehq.com

Weekly Downloads

Chrome DevTools Protocol client for Dart/Flutter, backed by the xcelerate Rust core.

Repository (GitHub)
View/report issues

License

Apache-2.0, MIT (license)

Dependencies

ffi

More

Packages that depend on xcelerate