ScreenActions

public interface ScreenActions

Interface with common actions for all screens

Provides basic actions that can be performed on each and every screen

Inheritors

Functions

Link copied to clipboard

Closes soft keyboard, if opened

Link copied to clipboard
public abstract ViewInteractionDelegate getView()

ViewInteractionDelegate on which all actions are performed (root view by default)

Link copied to clipboard
public Unit pressBack()

Performs click on device's back button

Link copied to clipboard
public Unit pressKey(EspressoKey key)

Presses a key with correspondingKeyCode and modifiers

public Unit pressKey(Integer keyCode)

Presses a key with corresponding KeyCode

Link copied to clipboard
public Unit pressMenuKey()

Presses the hardware menu key