public enum SeleniumModifierKey extends Enum<SeleniumModifierKey>
ModifierKey enumeration.| Modifier and Type | Method and Description |
|---|---|
static SeleniumModifierKey |
forKey(ModifierKey modifierKey) |
static Collection<SeleniumModifierKey> |
forKeys(Collection<ModifierKey> modifierKeys) |
void |
keyDown(SeleniumClient client) |
void |
keyUp(SeleniumClient client) |
static SeleniumModifierKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SeleniumModifierKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SeleniumModifierKey SHIFT
public static final SeleniumModifierKey ALT
public static final SeleniumModifierKey CONTROL
public static final SeleniumModifierKey META
public static SeleniumModifierKey[] values()
for (SeleniumModifierKey c : SeleniumModifierKey.values()) System.out.println(c);
public static SeleniumModifierKey valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static SeleniumModifierKey forKey(ModifierKey modifierKey)
public static Collection<SeleniumModifierKey> forKeys(Collection<ModifierKey> modifierKeys)
public void keyDown(SeleniumClient client)
public void keyUp(SeleniumClient client)
Copyright © 2015 Atlassian. All rights reserved.