Latest News from the Thunders Product Team
New feature

Match a text exactly in a step

Ines avatar
Shared by Ines •

You can now tell the runner that a text in a step must match exactly. Mark the text as exact, and the runner looks only for an element with that exact text, with the same words and the same case. It does not choose a similar label. When the text is not on the page, the step fails with Exact Text Not Found.

This helps when a page shows labels that are close to each other, such as Save and Save as draft, or when the case of a word matters.

  • Mark a text in the step editor: in an AI step, select the words and choose Mark as exact text, or click Add exact text and type the text. The text appears as an Exact match chip in the editor and in the step list.
  • Write it yourself: type exact:"Sign In" in an AI step or in a condition. A variable inside the quotes also works.
  • Use it where a step finds an element: clicks, typing into a field, hover, drag and drop and the other element actions, wait steps and verify steps.

Plain double quotes keep a loose match. Add exact: when the text must match strictly. On mobile apps, the exact match ignores case. Thunders AI and the recorder do not add the exact marker for you, so add it to the steps that need it.

#Sprint36