Class MouseOver

All Implemented Interfaces:
Composable, MultiPhased

public class MouseOver extends MultiPhaseAction
MouseOver is a subclass of MultiPhaseAction which moves the mouse to the middle of an element. StaleElementReferenceException may happen while MouseOver tries to manipulate the element, so multi-phase is used to perform the action again.
Author:
Kimberly
  • Constructor Details

    • MouseOver

      public MouseOver(org.openqa.selenium.By by)
      Create an action representing moving mouse over some element.
      Parameters:
      by - the element locating mechanism
    • MouseOver

      public MouseOver(org.openqa.selenium.By by, List<org.openqa.selenium.By> frameBySequence)
      Create an action representing moving mouse over some element.
      Parameters:
      by - the element locating mechanism
      frameBySequence - the sequence of the frame locating mechanism for the element resides in frame(or frame in another frame and so on)
  • Method Details