performMousePress
suspend fun <T : Component> SwingNodeInteraction<T>.performMousePress(position: Point? = null): SwingNodeInteraction<T>
Presses the primary mouse button on the matched node at position, then settles the composition. position defaults to the middle of the node, in the node's own coordinates.
The button stays down: nothing releases it until performMouseRelease does.
Return
this interaction, for chaining a further gesture or assertion.
Parameters
position
where the button goes down; the release takes its own, and nothing carries this one over to it.