public interface KeyModifier
WebElementActionBuilder.sendKeys(KeyModifier, CharSequence...) method,
then the corresponding modifier key will be activated during the character
sequences are sent to the current WebElement.
It is possible to combine key modifiers, for example SHIFT().CONTROL()
will activate the SHIFT and CONTROL modifiers in the same time.
| Modifier and Type | Method and Description |
|---|---|
KeyModifier |
ALT()
Activates the ALT key modifier.
|
KeyModifier |
CONTROL()
Activates the CONTROL key modifier.
|
KeyModifier |
SHIFT()
Activates the SHIFT key modifier.
|
KeyModifier SHIFT()
KeyModifier instance with activated SHIFTKeyModifier CONTROL()
KeyModifier instance with activated CONTROLKeyModifier ALT()
KeyModifier instance with activated ALTCreated by Kornél Simon, 2022