Class HighlightStyleBackup

java.lang.Object
jp.vmi.selenium.selenese.highlight.HighlightStyle
jp.vmi.selenium.selenese.highlight.HighlightStyleBackup

public class HighlightStyleBackup
extends HighlightStyle
Backup and restore style of highlighted element.
  • Constructor Details

    • HighlightStyleBackup

      public HighlightStyleBackup​(Map<String,​String> styles, Locator ploc, List<Locator> selectedFrameLocator)
      Constructor.
      Parameters:
      styles - style of highlighted element.
      ploc - parsed locator to highlighed element.
      selectedFrameLocator - selected frame locators.
  • Method Details

    • restore

      public void restore​(org.openqa.selenium.WebDriver driver, WebDriverElementFinder elementFinder)
      Restore style.
      Parameters:
      driver - instance of WebDriver.
      elementFinder - element finder.