Skip to content

PressAKey

This docs was updated at: 2026-02-23

com.paragon.web.PressAKey  ยท  Record


Action to press a key on the keyboard.

Methods

of

public static PressAKey of(@NonNull String key)

Creates a PressAKey action.

Parameters

Name Description
key The key to press

Returns

A new PressAKey instance


enter

public static PressAKey enter()

Presses the Enter key.


space

public static PressAKey space()

Presses the Space key.


tab

public static PressAKey tab()

Presses the Tab key.


escape

public static PressAKey escape()

Presses the Escape key.


backspace

public static PressAKey backspace()

Presses the Backspace key.


arrowUp

public static PressAKey arrowUp()

Presses the ArrowUp key.


arrowDown

public static PressAKey arrowDown()

Presses the ArrowDown key.


arrowLeft

public static PressAKey arrowLeft()

Presses the ArrowLeft key.


arrowRight

public static PressAKey arrowRight()

Presses the ArrowRight key.