Skip to content

osn-selenium v1.1.0-beta.1

Pre-release
Pre-release

Choose a tag to compare

@oddshellnick oddshellnick released this 30 Jan 15:37
· 5 commits to dev since this 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:

  1. Synchronous switch_to Method: The switch_to method in the trio_threads implementation 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.
  2. Expanded ActionChains Support: We have integrated additional essential mixins—MoveMixin, ScrollMixin, and KeyboardMixin—into both synchronous and Trio-based ActionChains. This ensures that standard interaction patterns are fully supported alongside our human-like movement features.
  3. Core Architecture Refactoring:
    • Renamed base_mixin.py to trio_threads_mixin.py to more accurately describe its role within the library.
    • Centralized internal Pydantic models (DictModel and ExtraDictModel) into a new _base_models.py file, reducing clutter and improving dependency management across the project.
  4. Documentation Update: The README.md now includes a direct link to our official Wiki, providing users with easier access to detailed guides and technical documentation.
  5. Internal Enhancements: Performed a minor refactor of various modules and updated the file_detector_context implementation 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.