Open lernik44 opened 9 months ago
You just have to add extra step in this " else { currentBookedDate = date const time = await checkAvailableTime(sessionHeaders, date)
book(sessionHeaders, date, time)
.then(d => log(`booked time at ${date} ${time}`))
}
"
Did it work for you?
How can I improve this code to book a group appoinment?
Unlike individual appointments, the group appointment has one additional step. In case of a group appointment, after you click 'Reschedule Appointment' it takes you to a page where you select the members of the group for whom you want to reschedule. Normally you want to put checkboxes for all the persons on that list. And then you click 'Continue' at the bottom. Afterward, it takes you to the page where you select the consular section, date, and time, so this step and the following steps are already the same both for individuals and groups.