creevey 0.9.0-beta.10 → 0.9.0-beta.10.timeouts.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -484,6 +484,9 @@ async function getBrowser(config, options) {
|
|
484
484
|
url.password = url.password ? '********' : '';
|
485
485
|
browserLogger.debug(`(${browserName}) Connecting to Selenium ${_chalk.default.magenta(url.toString())}`);
|
486
486
|
browser = await new _seleniumWebdriver.Builder().usingServer(gridUrl).withCapabilities(capabilities).build();
|
487
|
+
await browser.manage().setTimeouts({
|
488
|
+
script: 300 * 1000
|
489
|
+
});
|
487
490
|
const sessionId = (_await$browser$getSes = await browser.getSession()) === null || _await$browser$getSes === void 0 ? void 0 : _await$browser$getSes.getId();
|
488
491
|
let browserHost = '';
|
489
492
|
|
@@ -455,6 +455,9 @@ export async function getBrowser(config, options) {
|
|
455
455
|
url.password = url.password ? '********' : '';
|
456
456
|
browserLogger.debug(`(${browserName}) Connecting to Selenium ${chalk.magenta(url.toString())}`);
|
457
457
|
browser = await new Builder().usingServer(gridUrl).withCapabilities(capabilities).build();
|
458
|
+
await browser.manage().setTimeouts({
|
459
|
+
script: 300 * 1000
|
460
|
+
});
|
458
461
|
const sessionId = (_await$browser$getSes = await browser.getSession()) === null || _await$browser$getSes === void 0 ? void 0 : _await$browser$getSes.getId();
|
459
462
|
let browserHost = '';
|
460
463
|
|