Question: Write a Selenium test script in Python (using PyTest or unittest) that automates this scenario. Your test should include: Validating that the search results load
Write a Selenium test script in Python (using PyTest or unittest) that automates this scenario. Your test should include:
Validating that the search results load correctly for the subject entered.
Verifying that the modal opens with available time slots after clicking “Book Session”.
Booking a session and confirming that the toast message appears.
Navigating to the "My Sessions" page and asserting that the session is listed with the correct tutor name and subject.
Use appropriate locators, waits, and assertions.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
