ModifierKey

Playwright\Input\ModifierKey

Lists supported keyboard modifiers. Values match the key names accepted by Playwright input operations. fromString() also accepts common platform aliases such as cmd and ctrl.

Methods

fromString()

self
function fromString(string $modifier): self