Maximum wait time in milliseconds. Pass 0 to disable the timeout.
0
Signature:
interface WaitForTargetOptions { timeout?: number; }