Skip to content

Release v0.0.4

Latest

Choose a tag to compare

@SpeechlessMatt SpeechlessMatt released this 20 Apr 08:21

📦 Release v0.0.4

What's Changed

🚀 New Features

  • Promise-like Chaining: Supported fluent .then(), .catch(), and .finally() calls on asynchronous operations.
  • Keyboard Actions: Added performEnter to simulate the "Enter" key event on elements. ⌨️
  • Control Flow: Introduced ret() and raise() (mapping to JS return and throw) for logic control within the DSL.
  • Element API: Added value attribute support for ElementRef.

🛠️ Improvements & Refactors

  • Async Refactoring: Updated setTimeOut and waitElement to support both standalone and chained execution modes.
  • JS Injection: Optimized isolatedExecJs implementation and refined internal JS generation for promise chains.
  • API Cleanup:
    • Renamed TimeRef.kt to TimeRefs.kt.
    • Changed window-related functions to internal scope.
    • Fixed disableTimeCheck function naming.
  • Samples: Expanded examples to demonstrate asynchronous chaining and event simulation. 📖

Full Changelog: v0.0.3...v0.0.4