| 程序包 | 说明 |
|---|---|
| org.openqa.selenium.interactions | |
| org.openqa.selenium.interactions.touch | |
| org.openqa.selenium.remote | |
| org.openqa.selenium.support.events | |
| org.openqa.selenium.support.events.internal |
| 限定符和类型 | 方法和说明 |
|---|---|
Keyboard |
HasInputDevices.getKeyboard() |
| 构造器和说明 |
|---|
Actions(Keyboard keyboard)
Only used by the TouchActions class.
|
Actions(Keyboard keyboard,
Mouse mouse)
A constructor that should only be used when the keyboard or mouse were extended to provide
additional functionality (for example, dragging-and-dropping from the desktop).
|
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) |
SendKeysAction(Keyboard keyboard,
Mouse mouse,
CharSequence... keysToSend) |
SendKeysAction(Keyboard keyboard,
Mouse mouse,
Locatable locationProvider,
CharSequence... keysToSend) |
| 构造器和说明 |
|---|
TouchActions(Keyboard keyboard,
TouchScreen touchScreen) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
RemoteKeyboard
An implementation of the keyboard for use with the remote webdriver.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Keyboard |
RemoteWebDriver.getKeyboard() |
| 限定符和类型 | 方法和说明 |
|---|---|
Keyboard |
EventFiringWebDriver.getKeyboard() |
| 限定符和类型 | 类和说明 |
|---|---|
class |
EventFiringKeyboard
A keyboard firing events.
|