reduce timeout to 30s
This commit is contained in:
@@ -154,7 +154,7 @@ class CommandorPage {
|
|||||||
logWithDevice("will open google", this.device)
|
logWithDevice("will open google", this.device)
|
||||||
if (!this.isTerminated) {
|
if (!this.isTerminated) {
|
||||||
const item = searchTexts[Math.floor(Math.random() * searchTexts.length)];
|
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});
|
// await this.page.goto(RDV_URL, {timeout: 90 * 1000});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user