Class Require

java.lang.Object
org.openqa.selenium.internal.Require

public final class Require extends Object
A utility class to check arguments (preconditions) and state.

Examples of use:

   public void setActionWithTimeout(Action action delegate, int timeout) {
     this.action = Require.nonNull("Action", action);
     this.timeout = Require.positive("Timeout", timeout);
   }