Skip to content

dmberezovskyii/pytest-python-selenium-framework

 
 

Repository files navigation

Simple Python Selenium UI Automation Framework

This is a simple UI automation framework built with Python, pytest, and Selenium.
LinkedIn

Features

  • Easy-to-use UI automation framework.
  • Based on popular Python libraries: pytest and Selenium.
  • Supports Chrome,Firefox and Remote browsers for UI testing.
  • Provides utilities for setting up and managing WebDriver instances.

Getting Started

Prerequisites

  • Python 3.8-3.11

Usage

  1. Clone this repository
  2. Install required dependencies with pip install -r requirements.txt

Latest chrome drivers

TODO

Item Status
1. drivers factory: local, remote, [chrome, firefox] Status
2. pytest.ini config: addopts, errors, markers Status
3. environments: dev, stag, prod Status
4. secrets Status
5. utilities: yaml_reader, logger Status
6. BasePage: wait strategy, base actions Status
7. Properties: make properties helper Status
8. CI: GitHub Actions: runs tests, publish reports Status

CI: GitHub Actions

  • Pay attention while running CI on your local git resources must contain proper chrome driver with x86_64 architecture
  • Added CI configuration to run tests for ubuntu run_test_ubuntu.yaml