This is a Python automation project using Selenium WebDriver to simulate a flight booking system.
- Automates flight search and booking on a sample website.
- Uses ChromeDriver for browser automation.
- Includes form filling, submission, and confirmation.
git clone https://github.com/Durgarao3/Automation-FlightBooking-System.git
cd Automation-FlightBooking-SystemMake sure you have Python installed, then run:
pip install selenium3.Run the automation script
python flightbookings.pygit add README.md git commit -m "Add project README" git push
- Ensure Google Chrome is installed.
-
- Download the matching ChromeDriver version from:
π https://sites.google.com/chromium.org/driver
- Download the matching ChromeDriver version from:
- Extract the downloaded
chromedriver.exe. - Move it to a folder like
C:\WebDriver\bin\or your project directory. - Add the folder path to Environment Variables:
- Search "Environment Variables" in Windows Search.
- Click Environment Variables...
- Under System variables, select
Pathβ Edit β New β paste the folder path. - Click OK and restart your terminal.
π Alternatively, in your script you can specify the path manually:
driver = webdriver.Chrome(executable_path="C:/path/to/chromedriver.exe")This automation script was built to test the frontend built in the following project:
You can view the live demo of the booking system here:
π Live Demo