|
|
@@ -89,7 +89,7 @@ exports.getPageData = async options => {
|
|
|
firefoxOptions.setProfile(profile);
|
|
|
builder.setFirefoxOptions(firefoxOptions);
|
|
|
driver = await builder.forBrowser("firefox").build();
|
|
|
- driver.manage().setTimeouts({ script: null, pageLoad: null, implicit: null });
|
|
|
+ driver.manage().setTimeouts({ script: 2 * NETWORK_IDLE_MAX_DELAY, pageLoad: 2 * NETWORK_IDLE_MAX_DELAY, implicit: 2 * NETWORK_IDLE_MAX_DELAY });
|
|
|
if (options.browserWidth && options.browserHeight) {
|
|
|
const window = driver.manage().window();
|
|
|
if (window.setRect) {
|