reduce timeout to 30s

This commit is contained in:
2023-05-24 09:56:39 +02:00
parent 5b5b58cb70
commit 29b65401d4
+1 -1
View File
@@ -154,7 +154,7 @@ class CommandorPage {
logWithDevice("will open google", this.device)
if (!this.isTerminated) {
const item = searchTexts[Math.floor(Math.random() * searchTexts.length)];
await this.page.goto("https://www.google.com/search?q=" + item + "&lr=lang_en", {timeout: 90 * 1000});
await this.page.goto("https://www.google.com/search?q=" + item + "&lr=lang_en", {timeout: 30 * 1000});
}
// await this.page.goto(RDV_URL, {timeout: 90 * 1000});
} catch (e) {