pg: login now has Continue button after email

This commit is contained in:
Ralf Vogler 2024-08-28 02:31:47 +02:00
parent c87deb393e
commit eafb2316f7

View file

@ -53,6 +53,7 @@ try {
const password = email && (cfg.pg_password || await prompt({ type: 'password', message: 'Enter password' })); const password = email && (cfg.pg_password || await prompt({ type: 'password', message: 'Enter password' }));
if (email && password) { if (email && password) {
await page.fill('[name=email]', email); await page.fill('[name=email]', email);
await page.click('input[type="submit"]');
await page.fill('[name=password]', password); await page.fill('[name=password]', password);
await page.check('[name=rememberMe]'); await page.check('[name=rememberMe]');
await page.click('input[type="submit"]'); await page.click('input[type="submit"]');