Selenium-Automation-Template/README.md

29 lines
705 B
Markdown
Raw Permalink Normal View History

2020-04-10 22:41:42 +00:00
# Selenium Automation Template
A template to get you setup to pass a command file and run commands.
# Note(s)
2020-04-10 22:45:18 +00:00
This is designed with using Python mixins to inherit functionality from discrete classes that have discrete methods. The only "global" variables should be in the Context class.
2020-04-10 22:41:42 +00:00
!Important! BUILD OUT THE LOGIC FIRST AS THIS IS JUST TO GET STARTED!
# Dependencies
``` sudo apt install python3 python-pip libgirepository1.0-dev ```
# Setup
2020-04-10 22:45:18 +00:00
*** Change to the src directory. (Rename it if you want to first.)
2020-04-10 22:41:42 +00:00
``` python3 -m venv ./venv ```
``` source venv/bin/activate ```
``` pip install -r requirements.txt ```
``` python . <your command file> ```
... when done ...
``` deactivate ```