🔐 Automated Login - No More Manual Sign-ins!


The first step is logging you into the gym site. I've added Selenium friendly IDs to the gym application so that the elements are easy to identify. Your mission:

Write code to:

Pro tip 1: Use WebDriverWait instead of time.sleep() . Docs with example:

https://www.selenium.dev/documentation/webdriver/waits/


Pro tip 2: Use presence_of_element_located to verify that an element is present on the page.

Link to presence_of_element_located docs


What success looks like: Your browser automatically logs in and you see the class schedule. Login happens pretty quickly!



SOLUTION CODE