Period of time to sleep, in milliseconds. If not a positive number, the returned promise resolves immediately.
Promisethat resolves after a specific period of time. This is useful to implement waiting in your code, e.g. to prevent overloading of target website or to avoid bot detection.