GREYDirection
enum GREYDirection {}
Directions for scrolling and swiping.
The direction describes the motion of the view port as a result of the swipe, which is opposite to the direction the user’s finger moves. For example, a scroll down the page should be expressed with @c kGREYDirectionDown as it simulates a touch that starts somewhere in the middle of the screen and moves up to simulate an absolute scroll down behavior.
-
The finger is moving to the right, view port is moving left.
Declaration
Objective-C
kGREYDirectionLeft = 1
-
The finger is moving to the left, view port is moving right.
Declaration
Objective-C
kGREYDirectionRight
-
The finger is moving downwards, view port is moving up.
Declaration
Objective-C
kGREYDirectionUp
-
The finger is moving upwards, view port is moving down.
Declaration
Objective-C
kGREYDirectionDown