Skip to main content

Python modules for selenium unit test

Project description

Python Modules for Selenium UnitTest


pip install selenium-unittest-common


from selenium_unittest_common.unittest import test_case

class SampleTestCase(test_case.BaseTestCase):
    def setUpClass(cls):
        super(SampleTestCase, cls).setUpClass()
        cls.base_url = ''
        cls.page_url = cls.base_url

    def tearDownClass(cls):

    def setUp(self):
        super(SampleTestCase, self).setUp()

Build & Pylint

  1. Make sure below modules are installed:
  • invoke
  • pylint
  1. Execute the following command
invoke clean build


Launching Container

docker-compose up -d --build

Executing Python Script

docker exec -it python python /root/script/


  • Add support for FireFox.

Project details

Download files

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

Source Distribution

selenium-unittest-common-1.0.3.tar.gz (4.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page