Run tests against any Selenium version

Our Selenium grid now supports running your Selenium tests with an older version of Selenium.
By default, we always run your tests on the most recent version of Selenium, to ensure maximum performance and stability.

Some customers however like to run their tests on an older version of Selenium, this is now possible by specifying the desired Selenium version in the desired capabilities option.

For example this Python snippet which will run the test on Selenium 2.31.0

import unittest
from selenium import webdriver
from testingbot import driver

class Selenium2TestingBot(unittest.TestCase):

    def setUp(self):
        desired_capabilities = webdriver.DesiredCapabilities.FIREFOX
        desired_capabilities['version'] = '12'
        desired_capabilities['platform'] = 'WINDOWS'
        desired_capabilities['name'] = 'Testing Selenium 2 in Python'
        desired_capabilities['selenium-version'] = '2.31.0'

        self.driver = webdriver.Remote(

    def test_google(self):
        assert "Google" in self.driver.title

    def tearDown(self):

if __name__ == '__main__':

No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *