Skip to main content

Runs Selenium IDE tests without Selenium IDE.

Project description


A framework for running Selenium IDE tests from within Python without having to export those tests. It reads the tests in their native XML format and makes corresponding webdriver calls based on the contents of the XML files.

It can run both tests and test suites.


pip install siderunner

To use in headless mode you'll need selenium, pyvirtualdisplay and a browser such as FireFox.

$ apt-get install xvfb xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic
$ apt-get install pyvirtualdisplay
$ apt-get install selenium
$ apt-get install firefox


This example runs a simple test suite created with Selenium IDE and saved as .xml files.


import os
import siderunner

here = os.path.join(os.path.dirname(__file__), 'tests')

class SystemTests(siderunner.SeleniumTests):

    headless = True
    url = 'http://localhost'
    path = os.path.join(here, 'scripts')
    size = (1024, 2048)

    def test_suite_one(self):

    def test_suite_two(self):

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

siderunner-0.2.5.tar.gz (4.7 kB view hashes)

Uploaded source

Built Distribution

siderunner-0.2.5-py3-none-any.whl (5.8 kB view hashes)

Uploaded py3

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