public static void setDefaultTimeout ( long timeout , TimeUnit unit ) { defaultWaitConstraint = defaultWaitConstraint . withMaxWaitTime ( new Duration ( timeout , unit ) ) ; }
Sets the default timeout all await statements will use .