public class HighlightStyle extends Object
| Modifier and Type | Field and Description |
|---|---|
static HighlightStyle[] |
ELEMENT_STYLES
element styles.
|
| Constructor and Description |
|---|
HighlightStyle(Map<String,String> styles)
Constructor.
|
HighlightStyle(String... styles)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
doHighlight(org.openqa.selenium.WebDriver driver,
WebDriverElementFinder elementFinder,
String locator,
List<Locator> selectedFrameLocators)
Do highlight specified element.
|
public static HighlightStyle[] ELEMENT_STYLES
public HighlightStyle(Map<String,String> styles)
styles - style for highlighting.public HighlightStyle(String... styles)
styles - style for highlighting.public Map<String,String> doHighlight(org.openqa.selenium.WebDriver driver, WebDriverElementFinder elementFinder, String locator, List<Locator> selectedFrameLocators)
driver - instance of WebDriver.elementFinder - element finder.locator - locator to target element.selectedFrameLocators - selected frame locators.Copyright © 2016. All rights reserved.