Skip to content

Using Selenium webdriver with Python bindings and pytest to automate testing of osagepartners.com

Notifications You must be signed in to change notification settings

Sparrow1029/osage_selenium_testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Using Selenium webdriver with Python bindings and pytest to automate testing of osagepartners.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages