public class ClickPlugin
extends et.seleniet.api.KeywordPlugin
This plugin performs a click on a given element.
* ctrl flag is only supported for left click
Attention: Chrome sometimes fails to click due to other elements hiding the given element temporarily. Either while relayouting the page (not finished loading) or due to other reasons, while the click works without any problems in firefox. See #37
| Constructor and Description |
|---|
ClickPlugin() |
| 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) |
protected void |
waitFor2BClickedElem(et.seleniet.api.Seleniet driver,
org.openqa.selenium.WebElement elem,
boolean invisible) |
public void execute(et.seleniet.api.Seleniet driver,
org.openqa.selenium.WebElement elem,
String page,
List<String> lineArgs,
List<String> tcParams)
throws et.seleniet.api.AbortException
execute in class et.seleniet.api.KeywordPluginet.seleniet.api.AbortExceptionprotected void waitFor2BClickedElem(et.seleniet.api.Seleniet driver,
org.openqa.selenium.WebElement elem,
boolean invisible)
throws et.seleniet.api.AbortException,
et.seleniet.api.UserQuitException
et.seleniet.api.AbortExceptionet.seleniet.api.UserQuitExceptionCopyright © 2016 Thomas Eitzenberger. All rights reserved.