Skip to content

Instantly share code, notes, and snippets.

Embed
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