/selenium-automation-personal

Selenium web browser automation to find cheapest flight for my trip to Rome.

Primary LanguageJupyter Notebook

Selenium Web Browser Automation for Finding Cheapest Flight to Rome

This repository contains code and scripts for automating web browser searches to find the cheapest flight to Rome and the results to your email.

Prerequisites

  • Python 3.8
  • Selenium WebDriver
  • ChromeDriver (or other webdriver)

Installation

  1. Clone this repository: git clone https://github.com/username/selenium-rome-flight-scraper
  2. Install the necessary packages: pip install -r requirements.txt
  3. Download and install the appropriate webdriver for your browser (e.g., ChromeDriver)

Table of Contents

  • /src contains all source code with utilities functions and files included.
    • In order to Run the script: python src/flight_finder.py
    • The filenames in this directory are numbered in a somewhat sequential manner.s

Usage

The script will search for flights from your current location to Rome, Italy, and display the cheapest flight found in the terminal window. The script can be modified to search for flights from a different origin or destination, as well as other parameters such as dates and number of passengers.