Skip to content

taohidkhan22/selenium

Repository files navigation

Selenium Automation Project

This repository contains Selenium-based automation scripts for browser task automation on Python.org, such as search functionalities and download operations.


📂 Folder Structure

  • selenium/
    • tests/
      • test_python_org_search.py: Test script for search functionality
      • test_python_org_download.py: Test script for download link validation
    • scripts/
      • Remote_Webdriver.py: WebDriver setup for local/remote execution
      • python_org_search.py: Script for search operations
    • README.md: Documentation file
    • requirements.txt: Project dependencies

📝 File Types and Descriptions

  • Python Scripts (.py): Core automation logic and test cases.
  • requirements.txt: Lists project dependencies for quick setup.
  • README.md: Documentation for project setup, usage, and contributions.

🚀 Prerequisites

Ensure the following are installed:

  • Python 3.x: Download Python
  • Selenium: Install using pip:
    pip install selenium
  • WebDriver: Download the appropriate WebDriver for your browser (e.g., ChromeDriver for Chrome) and add it to your system's PATH.

⚙️ Setup Instructions

  1. Clone the Repository

    git clone https://github.com/taohidkhan22/selenium.git
    cd selenium
  2. Install Dependencies

    pip install -r requirements.txt
  3. Configure WebDriver

    • For remote execution, update Remote_Webdriver.py with your remote WebDriver server configuration.
    • For local execution, ensure the WebDriver executable is accessible in your system's PATH.

🧪 Running Tests

  • Test Search Functionality

    python tests/test_python_org_search.py
  • Test Download Links

    python tests/test_python_org_download.py

🤝 Contribution Guidelines

Contributions are welcome! Follow these steps to contribute:

  1. Fork the Repository: Click the 'Fork' button on GitHub.
  2. Create a New Branch
    git checkout -b feature/your-feature-name
  3. Commit Your Changes
    git commit -m "Description of your changes"
  4. Push to Your Fork
    git push origin feature/your-feature-name
  5. Submit a Pull Request: From your branch to the main repository.

🙌 Acknowledgements

  • Selenium for browser automation.
  • Python.org for providing a platform to demonstrate these scripts.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages