Instance Method

hover()

Moves the cursor over the element.

Declaration

func hover()

Discussion

If the element exists within a scrollable view but is offscreen, XCTest will attempt to scroll the element onscreen before moving the cursor over the element.