add en language to search

This commit is contained in:
2023-02-18 12:11:00 +01:00
parent c48254e988
commit fefc021cbc
+1 -1
View File
@@ -95,7 +95,7 @@ class CommandorPage {
}) })
try { try {
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, {timeout: 90 * 1000}); await this.page.goto("https://www.google.com/search?q=" + item+"&lr=lang_en", {timeout: 90 * 1000});
// await this.page.goto(RDV_URL, {timeout: 90 * 1000}); // await this.page.goto(RDV_URL, {timeout: 90 * 1000});
} catch (e) { } catch (e) {
log(e) log(e)