trackpadInputClick
fun trackpadInputClick() {
composeTestRule.onNodeWithTag("myComponent").performTrackpadInput {
// Click in the middle of the node
click(center)
}
}Executes the trackpad gesture specified in the given block.
Compose Multiplatform
Ship iOS, desktop, and web apps with Compose
RevenueCat
Add subscriptions to your apps in minutes
fun trackpadInputClick() {
composeTestRule.onNodeWithTag("myComponent").performTrackpadInput {
// Click in the middle of the node
click(center)
}
}Last updated: