📦 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
performEnterto simulate the "Enter" key event on elements. ⌨️ - Control Flow: Introduced
ret()andraise()(mapping to JSreturnandthrow) for logic control within the DSL. - Element API: Added
valueattribute support forElementRef.
🛠️ Improvements & Refactors
- Async Refactoring: Updated
setTimeOutandwaitElementto support both standalone and chained execution modes. - JS Injection: Optimized
isolatedExecJsimplementation and refined internal JS generation for promise chains. - API Cleanup:
- Renamed
TimeRef.kttoTimeRefs.kt. - Changed window-related functions to
internalscope. - Fixed
disableTimeCheckfunction naming.
- Renamed
- Samples: Expanded examples to demonstrate asynchronous chaining and event simulation. 📖
Full Changelog: v0.0.3...v0.0.4