> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Type Alias: AllByAttribute

> **AllByAttribute** = (`attribute`: `string`, `container`: `HTMLElement`, `id`: [`Matcher`](/next/api/react/testing-library/Type_Aliases/Matcher.md), `options?`: [`MatcherOptions`](/next/api/react/testing-library/Interfaces/MatcherOptions.md)) => `HTMLElement`\[]

## Parameters

| Parameter   | Type                                                                             |
| ----------- | -------------------------------------------------------------------------------- |
| `attribute` | `string`                                                                         |
| `container` | `HTMLElement`                                                                    |
| `id`        | [`Matcher`](/next/api/react/testing-library/Type_Aliases/Matcher.md)             |
| `options?`  | [`MatcherOptions`](/next/api/react/testing-library/Interfaces/MatcherOptions.md) |

## Returns

`HTMLElement`\[]
