Skip to content

Instantly share code, notes, and snippets.

Created February 26, 2021 15:43
What would you like to do?
Keyboard actions in Java
// Performs a modified key press.
keyDown(java.lang.CharSequence key);
// Performs a modified key release.
keyUp(java.lang.CharSequence key);
// Sends keys to the active element.
sendKeys(java.lang.CharSequence key);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment