*************
A simple Selenium WebDriver plugin for nose.
This plugin is a python3 only stripped down version of `nose-selenium <https://github.com/klrmn/nose-selenium>`_.
nosetests command line options
==============================
.. code-block:: bash
$ nosetests --with-simple-nose-selenium --help
Usage: nosetests [options]
Options:
...
--with-simple-nose-selenium Enable plugin Simple Nose Selenium
--browser=BROWSER Run this type of browser (default ['FIREFOX'], options:
[FIREFOX, CHROME, SAUCELABS]
Example Commands
----------------
.. code-block:: bash
$ nosetests --with-simple-nose-selenium --browser=FIREFOX
To run your tests on Saucelabs you need to set the required environment variables first.
.. code-block:: bash
$ export SAUCELABS_USERNAME=foo
$ export SAUCELABS_ACCESSKEY=123key
$ export SAUCELABS_PLATFORM=windows
$ export SAUCELABS_BROWSER_NAME=chrome
$ export SAUCELABS_BROWSER_VERSION=4.1
$ nosetests --with-simple-nose-selenium --browser=SAUCELABS
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.wd.get("http://google.com")
self.assertEqual(self.wd.title, "Google")
Metadata
Release files for simple-nose-selenium 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| simple-nose-selenium-0.2.1.tar.gz | 3.4 kB | Without provenance | Details for simple-nose-selenium-0.2.1.tar.gz |
Release files / simple-nose-selenium-0.2.1.tar.gz
| Download URL | simple-nose-selenium-0.2.1.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0b94594507084296e73a98ffefdbe96abc77028081958a9024aca9ef07ffc41
|
|
BLAKE2b-256 checksum How to use checksums |
8f2d6b69111e9493ddfcfb73c45a4766251af6f6999a90a968e502cc125f694b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for simple-nose-selenium 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.