> 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: FindByBoundAttribute\<T _extends_ `HTMLElement` = `HTMLElement`>

> **FindByBoundAttribute**\<`T` _extends_ `HTMLElement` = `HTMLElement`> = (`container`: `HTMLElement`, `id`: [`Matcher`](/next/api/react/testing-library/Type_Aliases/Matcher.md), `options?`: [`MatcherOptions`](/next/api/react/testing-library/Interfaces/MatcherOptions.md), `waitForElementOptions?`: [`waitForOptions`](/next/api/react/testing-library/Interfaces/waitForOptions.md)) => `Promise`\<`T`>

## Type Parameters

| Type Parameter              | Default type  |
| --------------------------- | ------------- |
| `T` _extends_ `HTMLElement` | `HTMLElement` |

## Parameters

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

## Returns

`Promise`\<`T`>
