Package | Description |
---|---|
org.openqa.selenium | |
org.openqa.selenium.interactions | |
org.openqa.selenium.interactions.internal |
Modifier and Type | Method and Description |
---|---|
static Keys |
Keys.getKeyFromUnicode(char key)
Get the special key representation,
Keys , of the supplied character if there is one. |
static Keys |
Keys.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Keys[] |
Keys.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Keyboard.pressKey(Keys keyToPress) |
void |
Keyboard.releaseKey(Keys keyToRelease) |
Modifier and Type | Method and Description |
---|---|
Actions |
Actions.keyDown(Keys theKey)
Performs a modifier key press.
|
Actions |
Actions.keyDown(WebElement element,
Keys theKey)
Performs a modifier key press after focusing on an element.
|
Actions |
Actions.keyUp(Keys theKey)
Performs a modifier key release.
|
Actions |
Actions.keyUp(WebElement element,
Keys theKey)
Performs a modifier key release after focusing on an element.
|
Constructor and Description |
---|
KeyDownAction(Keyboard keyboard,
Mouse mouse,
Keys key) |
KeyDownAction(Keyboard keyboard,
Mouse mouse,
Locatable locationProvider,
Keys key) |
KeyUpAction(Keyboard keyboard,
Mouse mouse,
Keys key) |
KeyUpAction(Keyboard keyboard,
Mouse mouse,
Locatable locationProvider,
Keys key) |
Modifier and Type | Field and Description |
---|---|
protected Keys |
SingleKeyAction.key |
Constructor and Description |
---|
SingleKeyAction(Keyboard keyboard,
Mouse mouse,
Keys key) |
SingleKeyAction(Keyboard keyboard,
Mouse mouse,
Locatable locationProvider,
Keys key) |
Copyright © 2013. All Rights Reserved.