Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

Release history Release notifications

Download files

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

Files for siderunner, version 0.2.5
Filename, size File type Python version Upload date Hashes
Filename, size siderunner-0.2.5-py3-none-any.whl (5.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size siderunner-0.2.5.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View hashes

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