Skip to content

2.0.0rc10

Latest

Choose a tag to compare

@aleksandr-kotlyar aleksandr-kotlyar released this 20 May 19:55
· 1 commit to selene-2.0.0rc9+ since this release
9e1d5ec

Selene 2.0.0rc10

This release candidate continues stabilizing the 2.0.0rc9 line on the way to the final 2.0.0 release.

The focus of 2.0.0rc10 is compatibility with recent Selenium versions, Python 3.10+ baseline cleanup, long-standing condition semantics fixes, better timeout artifact handling, and release/CI hardening.

Highlights

  • Selenium 4.40+ compatibility fixed
    Selene no longer relies on the removed/changed internal AnyDevice import from Selenium action chains. This fixes compatibility with recent Selenium versions, including Selenium 4.43.

  • Python baseline updated to 3.10+
    Python 3.8 and 3.9 support has been removed. Selene now targets Python 3.10 through 3.14.

  • Frame/iframe context ergonomics improved
    Added experimental query._frame_context(...) support for explicit frame/iframe context management, including nested with usage and lazy lookup helpers inside frame contexts.

  • Attribute assertions for href and src fixed
    have.attribute('href').value(...) and have.attribute('src').value(...) now compare against the actual DOM attribute value instead of Selenium/WebDriver-normalized absolute URLs.

  • Composed collection conditions fixed
    collection.should(...) now handles composed conditions such as have.css_class(...).and_(...) and have.text(...).or_(...) correctly.

  • Negated descriptor chains fixed
    Chained checks such as have.no.attribute(...).value_containing(...) now work correctly, including similar chains for attribute, js_property, and css_property.

  • JavaScript drag-and-drop retry behavior fixed
    command.js.drag_and_drop_to(...) now properly honors _assert_location_changed=True, allowing Selene’s wait/retry mechanism to work as expected.

  • Timeout artifact handling improved
    Selene now avoids unnecessary screenshot/page-source artifacts for handled False outcomes in wait_until(...), and timeout error links now use valid file:// URI formatting across operating systems.

  • Typing and Python 3.13+ compatibility polished
    query.attribute(...) typing now reflects that missing attributes may return None, and timeout reason rendering is normalized for Python 3.13+.

  • Release and CI pipeline hardened
    The release workflow now validates version consistency, runs package metadata checks, smoke-installs the built wheel in a clean virtual environment, and no longer mutates source files during publishing.

Notes for maintainers and contributors

This release also includes significant test coverage and infrastructure work: broader Python version coverage, split Codecov reporting, improved fork PR coverage behavior, non-blocking clipboard/speed/remote jobs, and updated release documentation.

For the full list of changes, fixes, tests, and CI/release updates, see the changelog:

CHANGELOG.md