Skip to main content

Automated-Selenium is a Python library that provides a base page class designed to facilitate the implementation of the Page Object Model (POM) structure in Selenium-based test automation projects.

Project description

Automated-Selenium

Automated-Selenium is a Python library that provides a base page class designed to facilitate the implementation of the Page Object Model (POM) structure in Selenium-based test automation projects.

Introduction

The Automated-Selenium library aims to simplify the development and maintenance of Selenium test automation frameworks by offering a reusable and extensible base page class. This base class encapsulates common functionality and provides essential methods for interacting with web elements, managing page navigation, and handling common automation tasks.

Key Features

  • Page Object Model (POM) Support: Automated-Selenium promotes the use of the Page Object Model design pattern, allowing you to organize your code into reusable and maintainable components.
  • Web Element Interaction: The library provides a comprehensive set of methods for interacting with web elements, such as clicking, typing, selecting options, and verifying element properties.
  • Page Navigation: With Automated-Selenium, you can easily navigate between pages, handle redirects, and manage browser windows or tabs.
  • Customizable and Extensible: The base page class can be extended and customized to suit the specific needs of your project. You can add additional methods or override existing ones to accommodate your application's unique behaviors.
  • Integration with Selenium: Automated-Selenium seamlessly integrates with the Selenium WebDriver, enabling you to harness the full power of Selenium for browser automation.

Installation

To use Automated-Selenium in your Python project, follow these steps:

  1. Make sure you have Python 3.x installed on your system.

  2. Install the required dependencies by running the following command:

    pip install automated-selenium
    
  3. Import the library into your Python code:

    from automated_selenium import BasePage
    

Getting Started

To get started with Automated-Selenium, you can follow these steps:

  1. Create a new Python module for your page objects or navigate to an existing one.

  2. Import the BasePage class from automated_selenium:

    from automated_selenium import BasePage
    
  3. Create a new class for your page object and inherit from BasePage:

    class MyPage(BasePage):
        # Add your custom methods and properties here
        pass
    
  4. Implement your page-specific methods and use the provided base methods to interact with web elements, handle navigation, and perform other automation tasks.

  5. Instantiate your page object class in your test code and start automating!

For more detailed documentation and examples, please refer to the Automated-Selenium GitHub repository.

Contributing

Contributions to the Automated-Selenium library are welcome! If you encounter any issues, have suggestions for improvements, or would like to contribute code, please feel free to submit a pull request on the GitHub repository.

License

Automated-Selenium is released under the MIT License. Please review the license file for more details.

Acknowledgments

We would like to express our gratitude to the open-source community for their contributions, as well as the authors of the libraries and tools that have made Automated-Selenium possible.

Contact

For any questions or inquiries, please contact the project maintainers at waqarkhan1252617@gmail.com.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

automated_selenium-0.1.0.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

automated_selenium-0.1.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file automated_selenium-0.1.0.tar.gz.

File metadata

  • Download URL: automated_selenium-0.1.0.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.11.0 Windows/10

File hashes

Hashes for automated_selenium-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d1245c75f30153a9df83ce7be7871c64eb45085b6b81d2a4124c4d6e3710ceb9
MD5 2eb820053bf1b13356c0cc29a68ad32a
BLAKE2b-256 034af3b15e06537a31e88341775ecb77cd3acd2f739cfca7e3856ecfe3bcbaec

See more details on using hashes here.

File details

Details for the file automated_selenium-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for automated_selenium-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d93b123e1a432191b7fb5639744d75d8cf1c2c50ebe39b8ec3a2555ea9509d1
MD5 c9c09d13b09fc5610ff4133b356c3b54
BLAKE2b-256 62cc8167aaf79ce1aba3398e06b59a92c2862770d38e6376779525b9f2972049

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page