public class RobotKeyPressPlugin
extends et.seleniet.api.ElementIndependentKeywordPlugin
This plugin uses the robot library to allow sending keys to native dialogs (like to file save as dialog, when downloading certain files). Currently we only support this on firefox. All other browsers are NOT tested!
if you want to send special key combinations please use the following syntax (based on KeyEvent keycodes):
$$[Keys.VK_CONTROL + Keys.VK_ENTER]for example. It is important to start with a "$$[Keys." string to trigger the parsing of this expression towards a key combination and use the "+" sign to separate the keys.
| Constructor and Description |
|---|
RobotKeyPressPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(et.seleniet.api.Seleniet driver,
org.openqa.selenium.WebElement elem,
String page,
List<String> lineArgs,
List<String> tcParams) |
Copyright © 2016 Thomas Eitzenberger. All rights reserved.