# Selector Types

- [CSS](https://docs.does.qa/elements/selector-types/css.md): Use CSS selectors to locate elements based on their styling properties and structure in the DOM.
- [XPath](https://docs.does.qa/elements/selector-types/xpath.md): Use XPath expressions to navigate and select elements within the XML or HTML document.
- [Visible Text](https://docs.does.qa/elements/selector-types/visible-text.md): Locate elements based on the visible text they contain. This is matched without case sensitivity.
- [Test ID](https://docs.does.qa/elements/selector-types/test-id.md): Locate elements using custom Test ID attributes added specifically for testing.


---

# 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.does.qa/elements/selector-types.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.
