onNodeWithRequiredContentDescription
fun SemanticsNodeInteractionsProvider.onNodeWithRequiredContentDescription(label: String, useUnmergedTree: Boolean = false): SemanticsNodeInteraction(source)
Finds the node whose content description is exactly label, case-sensitively.
Use it for icon buttons and images, where a partial match would hide a missing label.
Return
The node interaction.
Parameters
label
The exact content description.
useUnmergedTree
Whether to search the unmerged semantics tree.