refactor(puppeteer): default timeout setted back to 5 from 4 secs
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Jimenez Ruiz 2021-10-11 11:20:15 +02:00
parent 25e0e67c00
commit ce5a29496e
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ export async function getBrowser() {
});
});
page = extendPage(page);
page.setDefaultTimeout(4000);
page.setDefaultTimeout(5000);
await page.goto(defaultURL, {waitUntil: 'load'});
return {page, close: browser.close.bind(browser)};
}