public interface Keyboard
Modifier and Type | Method and Description |
---|---|
Session |
getThis() |
default Session |
sendBackspace()
Use this method to simulate typing BACKSPACE key.
|
default Session |
sendDownArrow()
Use this method to simulate typing DOWN_ARROW key.
|
default Session |
sendEnter()
Use this method to simulate typing ENTER key.
|
default Session |
sendEsc()
Use this method to simulate typing ESC key.
|
default Session |
sendKeyCode(int keyCode)
Use this method to simulate typing unicode value of keyboard key.
|
default Session |
sendKeys(String text)
Use this method to simulate typing into an element, which may set its value.
|
default Session |
sendLeftArrow()
Use this method to simulate typing LEFT_ARROW key.
|
default Session |
sendRightArrow()
Use this method to simulate typing RIGHT_ARROW key.
|
default Session |
sendTab()
Use this method to simulate typing TAB key.
|
default Session |
sendUpArrow()
Use this method to simulate typing UP_ARROW key.
|
default Session sendKeys(String text)
text
- character sequence to send to the elementdefault Session sendTab()
default Session sendEnter()
default Session sendBackspace()
default Session sendLeftArrow()
default Session sendUpArrow()
default Session sendRightArrow()
default Session sendDownArrow()
default Session sendEsc()
default Session sendKeyCode(int keyCode)
Session getThis()
Copyright © 2017 WebFolder OÜ. All rights reserved.