eg: try click delay for #120
This commit is contained in:
parent
6cbd9fe5e3
commit
e22bb22a53
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ try {
|
||||||
// click Continue if 'This game contains mature content recommended only for ages 18+'
|
// click Continue if 'This game contains mature content recommended only for ages 18+'
|
||||||
if (await page.locator('button:has-text("Continue")').count() > 0) {
|
if (await page.locator('button:has-text("Continue")').count() > 0) {
|
||||||
console.log(' This game contains mature content recommended only for ages 18+');
|
console.log(' This game contains mature content recommended only for ages 18+');
|
||||||
await page.click('button:has-text("Continue")');
|
await page.click('button:has-text("Continue")', { delay: 11 });
|
||||||
}
|
}
|
||||||
|
|
||||||
const title = await page.locator('h1').first().innerText();
|
const title = await page.locator('h1').first().innerText();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue