pg: fix auto-login; rememberMe was removed

This commit is contained in:
Ralf Vogler 2025-04-15 17:22:21 +02:00
parent 0fefcc47b7
commit 04d1b7ea9e

View file

@ -55,7 +55,7 @@ try {
await page.fill('[name=email]', email);
await page.click('input[type="submit"]');
await page.fill('[name=password]', password);
await page.check('[name=rememberMe]');
// await page.check('[name=rememberMe]'); // no longer exists
await page.click('input[type="submit"]');
page.waitForURL('**/ap/signin**').then(async () => { // check for wrong credentials
const error = await page.locator('.a-alert-content').first().innerText();