From 53afe4cf38c0ef42fccee90db373853e1afcafd2 Mon Sep 17 00:00:00 2001 From: Marco Klein Date: Sun, 16 May 2021 13:35:08 +0200 Subject: [PATCH] fix: increase waiting time for appointment fixes #30 --- src/appointments.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/appointments.ts b/src/appointments.ts index 6394175..9e61eac 100644 --- a/src/appointments.ts +++ b/src/appointments.ts @@ -98,7 +98,7 @@ async function proceedWithACode(page: Page, impfCode: string) { // search appointment const searchButton = await page.$("button.search-filter-button"); await searchButton?.click({ delay: 500 }); - await page.waitForTimeout(3000); + await page.waitForTimeout(20000); // info page const appointmentWarning = await page.$(