This project aims to automate the functionality of booking a train ticket on the MakeMyTrip website. The automation script will perform the following steps:
- Navigate to the MakeMyTrip railways page.
- Verify if the correct page is loaded by checking the title and URL.
- Click on the "FROM" field and enter the city as "DELHI".
- Click on the "TO" field and enter the city as "LUCKNOW".
- Click on the travel date field and select the date as "20 May".
- Click on the class field and select "Third AC" from the dropdown.
- Click on the "SEARCH" button to find available trains.