public class WarnIfNotPlugin
extends et.seleniet.api.ElementIndependentKeywordPlugin
This plugin checks for the existance of the given element. If it does NOT exist will make a screenshot and save the HTML code plus will add it to the warning list of Seleniet. Will NOT throw any abort exception however, but will continue with execution.
| Constructor and Description |
|---|
WarnIfNotPlugin() |
| 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) |
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.ElementFoundException,
et.seleniet.api.SystemAbortException
execute in class et.seleniet.api.KeywordPluginet.seleniet.api.ElementFoundExceptionet.seleniet.api.SystemAbortExceptionCopyright © 2016 Thomas Eitzenberger. All rights reserved.