Class HighlightStyle
- java.lang.Object
-
- jp.vmi.selenium.selenese.highlight.HighlightStyle
-
- Direct Known Subclasses:
HighlightStyleBackup
public class HighlightStyle extends Object
Highlight style.
-
-
Field Summary
Fields Modifier and Type Field Description static HighlightStyle[]ELEMENT_STYLESelement styles.
-
Constructor Summary
Constructors Constructor Description HighlightStyle(String... styles)Constructor.HighlightStyle(Map<String,String> styles)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>doHighlight(org.openqa.selenium.WebDriver driver, WebDriverElementFinder elementFinder, Locator ploc, List<Locator> selectedFrameLocators)Do highlight specified element.
-
-
-
Field Detail
-
ELEMENT_STYLES
public static HighlightStyle[] ELEMENT_STYLES
element styles.
-
-
Method Detail
-
doHighlight
public Map<String,String> doHighlight(org.openqa.selenium.WebDriver driver, WebDriverElementFinder elementFinder, Locator ploc, List<Locator> selectedFrameLocators)
Do highlight specified element.- Parameters:
driver- instance of WebDriver.elementFinder- element finder.ploc- parsed locator to target element.selectedFrameLocators- selected frame locators.- Returns:
- previous style.
-
-