Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 1002 Bytes

README.md

File metadata and controls

31 lines (25 loc) · 1002 Bytes

Selenium tests for osagepartners.com

Set-up and requirements

Clone the repo and set up a Python virtual env

$ git clone [email protected]:Sparrow1029/osage_selenium_testing.git
$ cd osage_selenium_testing

I use virtualenvwrapper, but you can also use Python's native virtualenv

$ mkvirtualenv osage-tests --python=python3
...
(osage-tests) $ pip install -r requirements.txt

These 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):

    1. Navigate to Mozilla/geckodriver release page
    2. Download the proper release
    3. Unzip and install

Now you should be ready to go! run the tests with pytest -v --capture=no BasicTest.py