Skip to content

A Python 3.x tool that can be used for website testing.

License

Notifications You must be signed in to change notification settings

lokarithm/PyWebTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyWebTest

A Python 3.x tool that can be used for website testing.

Stack

  • Python 3.x
  • Selenium

Setup

  • Install python 3.x

    • For Linux or Mac

    sudo apt install python3
    
    • For Windows:

      • Download and install python 3.x from the official Python website: python.org
  • Install all the packages:

    • pip3 install -r requirements.txt
      
    • If the packages are not up-to-date, especially the chromedriver, run the following:
      pip install --upgrade -r requirements.txt
      
  • Additional step for Windows:

    • Download chromedriver
    • Add an environment variable Path with the directory of the chromedriver executable.

Usage

  • config.json
    • Update the url to your test website
    • If login is needed, enter accordingly. Otherwise, you may ignore the login part. The idea is that you can access the configuration as an object in the code.
  • To run the code:
    python3 main_script.py
    

About

A Python 3.x tool that can be used for website testing.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages