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.
fun trackpadInputClick() {
composeTestRule.onNodeWithTag("myComponent").performTrackpadInput {
// Click in the middle of the node
click(center)
}
}Last updated: