Skip to content

Automate Python website interactions with Selenium and Chrome webdriver - explore, test, and learn!

License

Notifications You must be signed in to change notification settings

hrosicka/SimpleSeleniumExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automated Python Website Testing with Selenium and Chrome

License: MIT Python Selenium Stars Made with Love Last Commit

A concise example repository demonstrating how to automate browser interactions with Selenium and Chrome WebDriver in Python. The example focuses on interacting with the official python.org website.


Features

  • Test-Driven Approach: All functionality is covered by unit tests using Python's built-in unittest framework.
  • Beginner-Friendly: Clear class organization, comprehensive comments, and step-by-step explanations make this repository accessible to those new to Selenium or automated testing.
  • Focused Testing: The repository targets specific website features and provides a solid base for building more advanced test suites.
  • Easy to Extend: The modular structure allows for straightforward addition of new tests or adaptation to other web applications.

Getting Started

Prerequisites

  • Python 3.x
  • Google Chrome browser
  • ChromeDriver (ensure it matches your Chrome version)
  • Selenium (pip install selenium)

Installation

  1. Clone the repository:
    git clone https://github.com/hrosicka/SimpleSeleniumExample.git
    cd SimpleSeleniumExample
  2. Install required dependencies:
    pip install -r requirements.txt

Running Tests

python -m unittest discover

File Structure

  • test_*.py: Test scripts with organized test classes and detailed comments.
  • requirements.txt: List of Python dependencies.

Author

Lovingly crafted by Hanka Robovska 👩‍🔬


License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Automate Python website interactions with Selenium and Chrome webdriver - explore, test, and learn!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages