I'd like to set a different default timeout for page.waitForFunction.
Currently, I'm monkey patching the page.waitForFunction to set a different default timeout of 5000.
Any ideas on how to do this in a better way?
I'd use a default options object and pass it over everywhere.
Other than that, your approach seems reasonable to me.
Most helpful comment
I'd use a default options object and pass it over everywhere.
Other than that, your approach seems reasonable to me.