Changelog 2026.12
2026.12
Nested Locators in Browser Scripts
An element step’s locator can now hold another locator, the way Playwright’s filter({ has }), filter({ hasNot }),
and() and or() do. A filter with has keeps the elements that contain a match for the inner locator, and
hasNot keeps the ones that don’t. and keeps the elements that also match a second locator, and or adds the
elements that match it instead.
That helps when the element you want has nothing unique about it, like the “Add to cart” button in the one list item
whose heading says “Gamma”. In the web-based editor, tick has or hasNot on a filter, or chain an And or Or, and
the inner locator opens as its own rows below. Code blocks take the
same forms in the element argument.
Recorded scripts that match exact text (exact: true on getByText, getByLabel, getByPlaceholder, getByAltText
or getByTitle) now match only that exact text. Before, these options were ignored, so a script that relied on the
looser match might need its locator adjusted.
Scripts that use nested locators need an up-to-date engine. If you run self-hosted engines, update them before playing these scripts.
Loadster MCP 2.3
MCP server 2.3.0. An AI assistant that writes a browser script can now use nested locators: has and hasNot in a
filter, and and and or, each holding a locator chain of its own. Nothing else about the tools has changed.