{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
public final class TestTagKt
static final @NonNull Modifier
testTag(@NonNull Modifier receiver, @NonNull String tag)
Applies a tag to allow modified element to be found in tests.
public static final @NonNull Modifier testTag(@NonNull Modifier receiver, @NonNull String tag)
This is a convenience method for a semantics that sets SemanticsPropertyReceiver.testTag.
semantics
SemanticsPropertyReceiver.testTag