Repository navigation
osn-selenium v1.1.0-beta.1
Pre-release
Pre-release
osn-selenium v1.1.0-beta.1 - Refined Mixins and API Optimization
This beta release focuses on streamlining the internal architecture, improving the developer experience through more consistent API calls, and enhancing our documentation resources. We've refined how ActionChains are composed and optimized the switch_to logic to better align with standard expectations.
Key Improvements in v1.1.0-beta.1:
- Synchronous
switch_toMethod: Theswitch_tomethod in thetrio_threadsimplementation has been changed from asynchronous to synchronous. This adjustment simplifies the syntax for switching contexts (such as windows or frames) while maintaining full compatibility with the underlying Trio thread management. - Expanded ActionChains Support: We have integrated additional essential mixins—
MoveMixin,ScrollMixin, andKeyboardMixin—into both synchronous and Trio-basedActionChains. This ensures that standard interaction patterns are fully supported alongside our human-like movement features. - Core Architecture Refactoring:
- Renamed
base_mixin.pytotrio_threads_mixin.pyto more accurately describe its role within the library. - Centralized internal Pydantic models (
DictModelandExtraDictModel) into a new_base_models.pyfile, reducing clutter and improving dependency management across the project.
- Renamed
- Documentation Update: The
README.mdnow includes a direct link to our official Wiki, providing users with easier access to detailed guides and technical documentation. - Internal Enhancements: Performed a minor refactor of various modules and updated the
file_detector_contextimplementation to ensure more reliable file handling in asynchronous environments.
Putting It All Together:
Version 1.1.0-beta.1 is a refinement step that polishes the foundations of osn-selenium. By making switch_to synchronous and expanding the capability of ActionChains, we are making the library more intuitive to use. These changes, paired with cleaner internal code organization, set the stage for a stable v1.1.0 release.