public class WarnIfTruePlugin
extends et.seleniet.api.ElementIndependentKeywordPlugin
This plugin checks for a true result returned by the given javascript snippet. if true 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 |
|---|
WarnIfTruePlugin() |
| 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.