<div class='type'>Function</div>


<a id='references'></a>


<h2 id="performcustomaccessibilityactionwithlabel-label">performCustomAccessibilityActionWithLabel</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
@ExperimentalTestApi
fun SemanticsNodeInteraction.performCustomAccessibilityActionWithLabel(
    label: String
): SemanticsNodeInteraction
```


Finds the `CustomAccessibilityAction` in the node's `CustomActions` list whose label is equal to
`label` and then invokes it.

To use your own logic to find the action to perform instead of matching on the full label, use
`performCustomAccessibilityActionWithLabelMatching`.

#### Parameters

| | |
| --- | --- |
| label | The exact label of the `CustomAccessibilityAction` to perform. |