Send Keys
Send keyboard keys, including special keys such as Enter and Tab.
Send keys presses keyboard keys in the browser. Use it for shortcuts and special keys such as Enter, Tab, or Escape. Prefer Set value when you only need to fill an input with text.

When to use it
Submit a form with Enter after Set value.
Move focus with Tab, or dismiss a dialog with Escape.
Hold modifiers such as Ctrl or Shift for shortcuts.
Configure
Basics
Focus
Element focus (default) focuses the Element first. Retain current leaves focus where it is
Element
Required when Focus is Element focus
Keys
Keys to send (supports special key tokens in the field)
Advanced
Modifiers
Optional Shift, Ctrl, Windows, or Alt
Status on fail
When should screenshots be taken?
Always (default) or On Failures
Related
Tags: action, input, sendKeys, keyboard, keys
Last updated