# Selectors

- [Core Selectors](https://docs.maestro.dev/reference/selectors/core-selectors.md): Core selectors: text, id, index, point, and css for identifying UI elements.
- [Relational Selectors](https://docs.maestro.dev/reference/selectors/relational-selectors.md): Identify elements by position (above, below, leftOf, rightOf) or parent-child relationships (containsChild, childOf, containsDescendants).
- [Element Traits](https://docs.maestro.dev/reference/selectors/element-traits.md): Filter elements by traits like square, long-text, and other physical characteristics.
- [State Selectors](https://docs.maestro.dev/reference/selectors/state-selectors.md): Select elements by state: enabled, checked, focused, or selected properties.
- [Dimension matchers](https://docs.maestro.dev/reference/selectors/dimension-matchers.md): Match elements by width and height with optional tolerance values.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.maestro.dev/reference/selectors.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
