lib/grover/js/processor.cjs in grover-1.1.7 vs lib/grover/js/processor.cjs in grover-1.1.8
- old
+ new
@@ -98,9 +98,10 @@
if (cache !== undefined) {
await page.setCacheEnabled(cache);
}
// Setup timeout option (if provided)
+ if (options.timeout === null) delete options.timeout;
let requestOptions = {};
let requestTimeout = options.requestTimeout; delete options.requestTimeout;
if (requestTimeout === undefined) requestTimeout = options.timeout;
if (requestTimeout !== undefined) {
requestOptions.timeout = requestTimeout;