Files
049-snack-and-lift/docs/wiki/Step-4.md

887 B

English · Dansk · Bahasa Melayu

Step 4: Check if a class is already booked

What you gain

You learn to read the state of a button before acting: "Book Class", "Join Waitlist", "Booked" or "Waitlisted". A class that is already booked is not clicked again, and the bot prints a ✓ line that says what it did.

Where it is in the code

src/snack_and_lift/domain/rules.py

Screenshot

Step 4: Check if a class is already booked

This screenshot needs a run with a real gym account. The maintainer adds it with --screenshot-dir (see Getting started); until then the file docs/images/step-4.png is missing and the image above does not show.

Previous: 3 · Home · Next: 5