Assumes virtualenv and virtualenvwrapper
mkvirtualenv dv-selenium-test
pip install -r requirements/base.txt
python dv_browser.py
Should see something like:
Please run with one of the choices below:
1 - run_user_pete
2 - run_user_another_user
example:
$ python dv_browser.py 1
- Run the script as the first user
python dv_browser.py 1
- Open a new terminal
cd ~/selenium-helper
workon dv-selenium-test
python dv_browser.py
- Choose another user. e.g.:
python dv_browser.py 2
- Add another function simiar to
run_user_pete
- Include this function in the
user_choices
dict at the bottom of the file