Hold down the specified keys using the keyboard. This is useful for testing behaviors like Shift+Click.

For all available key combinations that can be used, see the Key values guide.

Inputs

Key
string
required

Use + to combine keys, e.g. Control+Shift+T. Here is a list of valid key values.

Configs

Convert platform-specific keys
boolean
default:true

Automatically convert known keyboard combinations based on the current operating system. For example, Meta+V is converted to Ctrl+V when the test is executed in a Linux environment.