---
title: "performCustomAccessibilityActionWithLabel"
description: "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]."
type: "function"
---

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


<a id='references'></a>
<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. |




