Skip to content

Lupa API Reference / commands/locator / ModifiersOption

Interface: ModifiersOption

Defined in: src/commands/locator.ts:204

Options that can be passed to locator actions.

Extended by

Properties

modifiers?

optional modifiers?: ("Alt" | "Control" | "ControlOrMeta" | "Meta" | "Shift")[]

Defined in: src/commands/locator.ts:210

Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current modifiers back. If not specified, currently pressed modifiers are used. "ControlOrMeta" resolves to "Control" on Windows and Linux and to "Meta" on macOS.