Class ReplyAlert

java.lang.Object
org.kquiet.browser.action.MultiPhaseAction
org.kquiet.browser.action.ReplyAlert
All Implemented Interfaces:
Composable, MultiPhased

public class ReplyAlert extends MultiPhaseAction
ReplyAlert is a subclass of MultiPhaseAction which interacts with the alert box. StaleElementReferenceException may happen while ReplyAlert tries to manipulate the element, so multi-phase is used to perform the action again.
Author:
Kimberly
  • Constructor Details

    • ReplyAlert

      public ReplyAlert(ReplyAlert.Decision decision, String textVariableName, String keysToSend)
      Create an action to deal with alert box.
      Parameters:
      decision - the way to deal with alert box
      textVariableName - text variable name; non-empty name means to set the text of alert box as a variable of ActionComposer
      keysToSend - characters to send to alert box
  • Method Details