Optional
predicate?: EventPredicate<T>Optional
timeout?: numberMaximum time in milliseconds. Defaults to 0
- no timeout. The default value can be changed via actionTimeout
option in the config, or by using the
browserContext.setDefaultTimeout(timeout)
or page.setDefaultTimeout(timeout) methods.
Generated using TypeDoc
Receives the event data and resolves to truthy value when the waiting should resolve.