This repository is designed to facilitate the onboarding process for users, particularly focusing on freelance onboarding. It includes various scripts and configurations to automate and manage user profiles, business information, and trade details.
- Automates the onboarding process for freelance users.
- Manages user profiles and business information.
- Supports integration with social media platforms like Instagram and Snapchat.
- Provides a structured approach to handle business trade information.
- config.py: Contains configuration settings such as base URLs and browser preferences.
- Drivers/: Includes necessary drivers for browser automation.
- Pages/: Contains modules for different page interactions, including user profile onboarding and business profile management.
- Resources/: Holds data classes for user and business information.
- Tests/: Contains test scripts for validating the onboarding process.
- Utils/: Includes utility classes such as locators for web elements.
- Python 3.x
- pip (Python package manager)
- Git
- A web browser (e.g., Chrome) and its corresponding WebDriver (e.g., ChromeDriver)
- Download the Python installer from the official website.
- Run the installer and ensure you check the box "Add Python to PATH".
- Verify the installation by opening a command prompt and typing:
python --version pip --version
- Open Terminal.
- Install Homebrew if not already installed:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install Python:
brew install python
- Verify the installation:
python3 --version pip3 --version
- Open Terminal.
- Update package lists:
sudo apt update
- Install Python and pip:
sudo apt install python3 python3-pip
- Verify the installation:
python3 --version pip3 --version
- Download the Git installer from the official website.
- Run the installer and follow the setup instructions.
- Verify the installation by opening a command prompt and typing:
git --version
- Open Terminal.
- Install Git using Homebrew:
brew install git
- Verify the installation:
git --version
- Open Terminal.
- Update package lists:
sudo apt update
- Install Git:
sudo apt install git
- Verify the installation:
git --version
- Check your Chrome version by navigating to
chrome://settings/help
in your browser. - Download the corresponding ChromeDriver from the ChromeDriver download page.
- Extract the downloaded file and place the
chromedriver
executable in theDrivers/
directory of the project. - Ensure
chromedriver
is executable and added to your system's PATH.
git clone <repository-url>
cd <repository-directory>
Run the following command to install the required packages:
pip install -r requirements.txt
Execute the test scripts to verify the setup:
pytest Tests/onboarding/freelanceonboarding_test.py
- License: This project is licensed under the MIT License.
- Contributing: Contributions are welcome. Please fork the repository and submit a pull request.
- Contact: For any queries, please contact [your-email@example.com].
- Ensure that the WebDriver is executable and properly configured in your system's PATH.
- Modify the
config.py
file to change the base URL or browser settings as needed.