Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Run your Selenium TestCase's in multiple browsers

Project description


A simple Selenium WebDriver plugin for nose.

This plugin is a python3 only stripped down version of `nose-selenium <>`_.

nosetests command line options

.. code-block:: bash

$ nosetests --with-simple-nose-selenium --help
Usage: nosetests [options]

--with-simple-nose-selenium Enable plugin Simple Nose Selenium
--browser=BROWSER Run this type of browser (default ['FIREFOX'], options
for local [FIREFOX, CHROME]

Example Commands

.. code-block:: bash

$ nosetests --with-simple-nose-selenium --browser=FIREFOX

Inheriting from SeleniumTestCase

SeleniumTestCase creates the webdriver and stores it in self.wd in its setUp()
and closes it in tearDown().

.. code-block:: python

from nose_selenium import SeleniumTestCase

class MyTestCase(SeleniumTestCase):

def test_that_google_opens(self):
self.assertEqual(self.wd.title, "Google")

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
simple-nose-selenium-0.01.tar.gz (2.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page