Skip to content

Release v0.1.1

Choose a tag to compare

@0xchasercat 0xchasercat released this 24 Jan 09:47

πŸš€ Release v0.1.1

This update refines the ChaserPage API for better safety and fixes critical stability issues in the underlying protocol parser.

πŸ›‘οΈ Stealth & API Refinements

The core ChaserPage wrapper has been updated to make stealth the "path of least resistance."

  • Default Stealth Evaluation: chaser.evaluate() now automatically uses the evaluate_stealth logic. This ensures JavaScript execution occurs within an isolated world, preventing Runtime.enable leaks that reveal automation.

  • API Renaming: * inner() is now deprecated in favor of raw_page().

  • Direct convenience methods added to ChaserPage: .goto(), .content(), and .url().

  • Prototypal Hardening: Internal logic now defines properties on Navigator.prototype rather than the instance, bypassing more sophisticated detection scripts.

πŸ› οΈ Bug Fixes & Stability

  • Parser Overflow Fix: Fixed a crash in chromiumoxide_pdl where large version numbers in the protocol definition would cause an integer overflow during parsing.
  • Example Correction: Fixed an import error in examples/stealth_bot.rs where the crate was incorrectly referenced.
  • Typo Handling: Improved the internal consistency of type_text_with_typos logic.

πŸ§ͺ New Integration Tests

Added a comprehensive bot detection suite in examples/bot_detection_test.rs. This script tests the library against:

  • Sannysoft (Fingerprint consistency)
  • AreYouHeadless (Headless specific leaks)
  • Cloudflare Turnstile (Interaction & environment checks)
  • CDP Marker Detection (Ensures cdc_ and __webdriver properties are absent)

πŸ“ Changed Files at a Glance

File Changes Description
src/chaser.rs +92 / -29 Refactored ChaserPage for stealth-by-default.
parser.rs +22 / -2 Added overflow protection for PDL versioning.
README.md +44 / -11 Updated API docs and added status badges.
examples/ +213 / -1 Added the new bot_detection_test.rs suite.

πŸ“¦ Update Command

cargo update chaser-oxide

Full Diff: [v0.1.0...v0.1.1](v0.1.0...v0.1.1)