public class WebDriverHighlightHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JS_HIGHLIGHT_BACKGROUND
green (#66FF33)
|
static String |
JS_HIGHLIGHT_BOARDER
green (#66FF33)
|
static String |
JS_HIGHLIGHT_INPUT_PROPERTY
TODO: playback for javascript highlighting.
|
static int |
JS_HIGHLIGHT_MS
400 milliseconds.
|
static String |
JS_HIGHLIGHT_MS_PROPERTY
JS_HIGHLIGHT_MS as default. |
static String |
JS_HIGHLIGHT_PROPERTY
Highlighting of elements as selenium runs.
|
protected boolean |
jsHighlightEnabled |
| Constructor and Description |
|---|
WebDriverHighlightHelper()
Create a WebDriverHighlightHelp which is enabled if JS_HIGHLIGHT_PROPERTY is set to true.
|
| Modifier and Type | Method and Description |
|---|---|
void |
highlightElement(org.openqa.selenium.WebDriver webDriver,
org.openqa.selenium.WebElement webElement)
Highlight given WebElement.
|
protected boolean jsHighlightEnabled
public static final String JS_HIGHLIGHT_BACKGROUND
public static final String JS_HIGHLIGHT_BOARDER
public static final int JS_HIGHLIGHT_MS
public static final String JS_HIGHLIGHT_MS_PROPERTY
JS_HIGHLIGHT_MS as default.
-Dremote.driver.highlight.ms=
public static final String JS_HIGHLIGHT_PROPERTY
Highlighting of elements as selenium runs.
-Dremote.driver.highlight=true
public static final String JS_HIGHLIGHT_INPUT_PROPERTY
public WebDriverHighlightHelper()
public void highlightElement(org.openqa.selenium.WebDriver webDriver, org.openqa.selenium.WebElement webElement)
Highlight given WebElement.
webDriver - to execute highlight onwebElement - to highlightCopyright © 2005–2017 The Kuali Foundation. All rights reserved.