Version 1.3.0
Version 1.3.0 - (2025-12-25)
Added
-
Multi-Instance Support: Added the ability to create and manage multiple independent WebView2 instances within the same AutoIt application.
-
Extension Support: Introduced the
AddExtensionmethod, allowing the loading of unpacked browser extensions (Manifest V2 and V3) per instance. -
Independent User Profiles: Each instance now supports a unique
UserDataFolder, enabling isolated cookies, cache, and browser history (e.g.,Profile_1,Profile_2). -
Context Menu Control: Added
SetContextMenuEnabledto programmatically enable or disable the right-click menu. -
DevTools Management: Added
SetDevToolsEnabledto toggle access to the browser's developer tools.
Fixed
-
Event Routing: Resolved an issue where JavaScript bridge messages were cross-talking between instances; messages are now correctly routed via unique prefixes (e.g.,
Web1_,Web2_). -
Resource Locking: Improved the
Cleanup()method to ensure all WebView2 processes and profile files are properly released upon closing. -
Initialization Sequence: Fixed a race condition where calling methods before the engine was fully ready caused crashes; events now properly wait for the
INIT_READYsignal.
Changed
-
Event-Driven Architecture: Refactored the communication layer to be 100% event-driven, eliminating the need for
Sleep()or polling loops. -
Bridge Logic: Optimized the
.NETtoAutoItbridge to handle high-frequency messaging without UI blocking. -
Resizing Logic: Updated the recommended implementation to use
WM_SIZEfor smoother synchronization between AutoIt GUI containers and the WebView2 engine.