trackpadInputClick
fun trackpadInputClick() {
composeTestRule.onNodeWithTag("myComponent").performTrackpadInput {
// Click in the middle of the node
click(center)
}
}The receiver scope of the trackpad input injection lambda from performTrackpadInput.
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: