Skip to content
This repository has been archived by the owner on Nov 28, 2021. It is now read-only.

Commit

Permalink
fix: increase waiting time for appointment
Browse files Browse the repository at this point in the history
fixes #30
  • Loading branch information
marcoklein authored May 16, 2021
1 parent 4ab84b0 commit 53afe4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/appointments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.$(
Expand Down

0 comments on commit 53afe4c

Please sign in to comment.