eg: log indent 'This game contains mature content'

This commit is contained in:
Ralf Vogler 2022-10-27 14:09:43 +02:00
parent aae396fa80
commit 569e690d9e

View file

@ -118,7 +118,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")');
} }