public void highlight(String locator, HighlightStyle highlightStyle) {
List<Locator> selectedFrameLocators = elementFinder.getCurrentFrameLocators();
Map<String, String> prevStyles = highlightStyle.doHighlight(driver, elementFinder, locator, selectedFrameLocators);
if (prevStyles == null)
return;
HighlightStyleBackup backup = new HighlightStyleBackup(prevStyles, locator, selectedFrameLocators);
styleBackups.push(backup);
}