# What changed in @rstest/core

> 12 changes in @rstest/core 0.12 from its official release notes, upgrade guides and advisories: 10 new APIs and options. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/@rstest/core/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @rstest/core 0.12

### New APIs and options

- Adds a Locator interaction that drags an element to a target Locator, with optional source and target coordinates relative to each element's top-left padding-box corner. (0.12.5) — [docs](https://rstest.rs/api/runtime-api/browser-mode/locator)
- Synchronously wraps a DOM Element from the current test document in a Locator, enabling native browser actions and Rstest assertions on elements from Testing Library or third-party tools. (0.12.5) — [docs](https://rstest.rs/api/runtime-api/browser-mode/locator)
- Adds native keyboard input to the currently focused element, without focusing or selecting an element first. (0.12.5) — [docs](https://rstest.rs/api/runtime-api/browser-mode/keyboard)
- Adds an assertion for an element's accessible description, accepting a string or regular expression. (0.12.5) — [docs](https://rstest.rs/api/runtime-api/browser-mode/assertion)
- Adds an assertion for an element's accessible name, accepting a string or regular expression. (0.12.5) — [docs](https://rstest.rs/api/runtime-api/browser-mode/assertion)
- Adds an assertion for an element's exact ARIA role; role hierarchy is not considered. (0.12.5) — [docs](https://rstest.rs/api/runtime-api/browser-mode/assertion)
- Adds an assertion for all selected option values of a multiple select, matching the expected array in DOM order. (0.12.5) — [docs](https://rstest.rs/api/runtime-api/browser-mode/assertion)
- Captures a PNG screenshot for each failed browser test by defaulting to the headless setting; set to false to disable capture. (0.12.4) — [docs](https://rstest.rs/config/test/browser)
- Pass React root options such as `onRecoverableError` through `createRootOptions` when rendering. (0.12.4) — [docs](https://rstest.rs/guide/browser-testing/framework-guides)
- Browser Mode can hydrate matching server-rendered markup without starting a Node server, enabling focused React hydration tests. (0.12.4) — [docs](https://rstest.rs/guide/browser-testing/framework-guides)

### Behavior and default changes

- Accepts DOM elements returned by Testing Library or native DOM queries, converting them through page.elementLocator() and using Locator assertion retry and timeout behavior. (0.12.5) — [docs](https://rstest.rs/api/runtime-api/browser-mode/assertion)
- Invalidation drops queued presses that have not started, but cannot cancel or roll back native input already in progress. (0.12.5) — [docs](https://rstest.rs/api/runtime-api/browser-mode/keyboard)
