Press Android Back Button

Purpose: Simulates pressing the native Android back button to navigate to the previous screen.

Syntax:

pressBackButton

Example: To return to the previous screen:

pressBackButton

Note:

This command only applies to Android devices. It will have no effect on iOS.

Last updated