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

885 B

English · Dansk · Bahasa Melayu

Step 2: Automated login

What you gain

You learn explicit waits (WebDriverWait) and how to fill a form. login() types the e-mail and password from environment variables, submits, and waits until the class schedule is shown. A wrong password is reported by the site's error message.

Where it is in the code

src/snack_and_lift/application/session.py

Screenshot

Step 2: Automated login

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-2.png is missing and the image above does not show.

Previous: 1 · Home · Next: 3