Optional polling?: number | "raf"Optional timeout?: numberMaximum time to wait for 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.
If
pollingis'raf', thenpageFunctionis constantly executed inrequestAnimationFramecallback. Ifpollingis a number, then it is treated as an interval in milliseconds at which the function would be executed. Defaults toraf.