> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bringits.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Inner Texts

> Retrieve the visible inner text of specified DOM elements

The Get Inner Texts command (Command Type: 9) retrieves the visible `innerText` of specified DOM elements. Unlike `textContent`, `innerText` is aware of styling and only returns text that is rendered on screen.

See: [MDN HTMLElement.innerText](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/innerText)

## Command Type

**Command Type ID:** 9

## Parameters

| Parameter           | Type            | Description                                      | Required |
| ------------------- | --------------- | ------------------------------------------------ | -------- |
| **elementsLocator** | ElementsLocator | Specifies the criteria to locate target elements | Yes      |
| **timeout**         | number          | Timeout in milliseconds                          | Yes      |

### ElementsLocator

| Field            | Type            | Description                            | Required |
| ---------------- | --------------- | -------------------------------------- | -------- |
| **selector**     | string          | CSS selector                           | Yes      |
| **continueWith** | ElementsLocator | Continue search within found element   | No       |
| **hasChildren**  | ElementsLocator | Filter elements with matching children | No       |
| **index**        | number          | Select element by index                | No       |
| **innerText**    | string          | Filter by inner text                   | No       |

## Usage Examples

### Get All Button Labels

```json theme={null}
{
  "command": "get-inner-texts",
  "params": {
    "elementsLocator": { "selector": "button.tab" },
    "timeout": 10000
  }
}
```

## Related Commands

* [Get Text Contents](/stream/commands/browser/get-text-contents) - Raw `textContent` (includes hidden text)
* [Get Elements](/stream/commands/browser/get-elements) - Full element representation
