Class Custom

All Implemented Interfaces:
Composable, MultiPhased

public class Custom extends MultiPhaseAction
Custom is a subclass of MultiPhaseAction which performs custom action by phases to avoid blocking the execution of other browser actions.

There are two constructors of Custom:

  1. Custom(java.util.function.Function, java.util.List) is used to make Custom act as a MultiPhaseAction, therefore MultiPhased.noNextPhase() must be called explicitly before ending custom action.
  2. Custom(java.util.function.Consumer, java.util.List) is used to make Custom act as a SinglePhaseAction.
Author:
Kimberly