Creates a new WaitHelper with specified timeout.
public WaitHelper(TimeSpan timeout, TimeSpan? pollingInterval = default(TimeSpan? ))
The maximum wait time.
The interval between condition checks (default 100ms).