withStartupTimeout method

WaitStrategy withStartupTimeout(
  1. Duration timeout
)

Sets the maximum startup timeout.

Returns this to allow fluent chaining.

Implementation

WaitStrategy withStartupTimeout(Duration timeout) {
  startupTimeout = timeout;
  return this;
}