Selenium tests for osagepartners.com
Clone the repo and set up a Python virtual env
$ git clone git@github.com:Sparrow1029/osage_selenium_testing.git
$ cd osage_selenium_testingI use virtualenvwrapper, but you can also use Python's native virtualenv
$ mkvirtualenv osage-tests --python=python3
...
(osage-tests) $ pip install -r requirements.txtThese tests currently only use Firefox with geckodriver, so you will need to install that for your system:
-
Mac OSX:
Easiest way is to use a package manager like Homebrew:
brew install geckodriver -
Linux (Ubuntu):
sudo apt install geckodriver -
Windows (works with other systems as well):
- Navigate to Mozilla/geckodriver release page
- Download the proper release
- Unzip and install
Now you should be ready to go!
run the tests with pytest -v --capture=no BasicTest.py