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:
-
Make sure you have Python 3.x installed on your system.
-
Install the required dependencies by running the following command:
pip install automated-selenium
-
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:
-
Create a new Python module for your page objects or navigate to an existing one.
-
Import the
BasePage
class fromautomated_selenium
:from automated_selenium import BasePage
-
Create a new class for your page object and inherit from
BasePage
:class MyPage(BasePage): # Add your custom methods and properties here pass
-
Implement your page-specific methods and use the provided base methods to interact with web elements, handle navigation, and perform other automation tasks.
-
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1245c75f30153a9df83ce7be7871c64eb45085b6b81d2a4124c4d6e3710ceb9 |
|
MD5 | 2eb820053bf1b13356c0cc29a68ad32a |
|
BLAKE2b-256 | 034af3b15e06537a31e88341775ecb77cd3acd2f739cfca7e3856ecfe3bcbaec |
File details
Details for the file automated_selenium-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: automated_selenium-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.0 CPython/3.11.0 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d93b123e1a432191b7fb5639744d75d8cf1c2c50ebe39b8ec3a2555ea9509d1 |
|
MD5 | c9c09d13b09fc5610ff4133b356c3b54 |
|
BLAKE2b-256 | 62cc8167aaf79ce1aba3398e06b59a92c2862770d38e6376779525b9f2972049 |