This is a basic Python script that automates the process of applying for leave using Selenium.
- Download GeckoDriver from here.
- Choose the appropriate version, preferably
geckodriver-v0.34.0-linux64.tar.gz
.
- Open a terminal and navigate to the directory containing the downloaded
.tar.gz
file. - Use the following command to extract the file:
tar xvfz geckodriver-v0.34.0-linux64.tar.gz
- After extraction, you'll find a folder called
geckodriver
. - Move that folder to your
$PATH
using the following command:mv geckodriver /usr/local/bin
Now you're all set to use the script!
Run the script using (make sure you have Python 3 installed on your system!):
python3 leave_applier.py
- Ensure you have Python installed.
- Install Selenium using
pip install selenium
. - Run the provided Python script to automate the leave application process.
This setup is specifically for Linux.
ALso please ensure that you have a stable internet connection.
- Download GeckoDriver for Windows from here.
- Choose the appropriate version, preferably
geckodriver-v0.34.0-win32.zip
.
- Extract the downloaded
.zip
file. - You'll find
geckodriver.exe
inside the extracted folder.
- Move
geckodriver.exe
to any directory of your choice. - Add the directory path to your system environment variables:
- Go to Control Panel > System and Security > System.
- Click on "Advanced system settings" on the left panel.
- In the System Properties window, click on the "Environment Variables" button.
- Under "System variables", find the "Path" variable and click "Edit".
- Add the directory path containing
geckodriver.exe
to the list of paths.
Now you're all set to use the script!
Run the script using (make sure you have Python installed on your system!):
python windows.py
- Ensure you have Python installed.
- Install Selenium using
pip install selenium
. - Run the provided Python script to automate the leave application process.
This setup is specifically for Windows. ALso please ensure that you have a stable internet connection.
- Install tkinter and customtkinter libraries using the following command on the terminal
pip3 install tk
pip3 install customtkinter
- Make sure you have followed the above steps for your system, and then simply run the 'leave_gui.py' file
python3 leave_gui.py