Resources
AI configuration
Customize AI behavior in your tests
Momentic uses a variety of agents, each specialized for a specific task within end-to-end testing. Currently, the following agents can be configured by users:
Name | Description |
---|---|
Locator | Locates elements on the page based on a natural language description. This agent is used for all interactive commands that target elements, such as Click and Type steps. This agent is also used to resolve elements in Element check steps. |
Assertion | Evaluates the truthiness of natural language statements based on an instantaneous snapshot of the page. This agent is used to power AI check steps. |
Momentic exposes the ability to choose the versions of these agents so that users can upgrade at their own cadence and test upgrades before applying them.
Locator
v1
- Default configuration for existing organizations.
- Uses older 2024 models.
v2
- Recommended configuration for new organizations.
- Uses the latest 2025 models.
- Places a strong emphasis on respecting relative positioning criteria (e.g. “the link in the header”, “the X icon in the modal”), and will fail if it cannot find the reference element.
- Strongly respects single-quoted text (e.g. “the ‘Submit’ button”) and will reject candidate elements that do not contain that exact text.
Assertion
v1
- Default configuration for existing organizations.
- Uses older 2024 models.
v2
- Recommended configuration for new organizations.
- Uses the latest 2025 models.
- Displays superior understanding of sorted order, visual positioning, and relative positioning criteria (e.g. “The button in the modal is enabled”).
- Strongly respects single-quoted text (e.g. “element with title=‘hello world’”) and will fail the assertion if there is no element that contains that provided text.