< Back to Blog Overview

Open-source Selenium Grid

TestingBot open-sources NodeJS based Selenium grid
  • Share on Facebook
  • Share on Twitter
  • Share on LinkedIn
  • Share on HackerNews

Today we've released our NodeJS code which runs our Selenium hub. This code has been running in production for over 11 months now on a single CPU server for all our customers.

Using the code is really simple, you can either download it straight from GitHub or use npm to install the package: npm install node-seleniumgrid

Once the hub is running on your own computer, you can connect Selenium nodes to it and run tests against the grid.

The original Selenium project already contains a Selenium grid (written in Java), but we wanted to build our own in NodeJS. The code is simple to read and works fully asynchronous. Mocha tests are included which makes sure the hub behaves like it should.

We've also added a feature where the hub will forwards tests to the TestingBot.com grid when it can not find a Selenium node on your local hub.

For example, you could run this grid on your local network and attach Windows/Linux nodes residing in your network to the grid.

All tests running on Windows/Linux will run on your local Selenium nodes, once you run a test which needs a Mac node, the grid will automatically forward the request to the TestingBot grid.

The source code comes with a Apache License, Version 2.0 license. We welcome any patches/pull-requests and are happy to help out with problems (please use the issues section on Github) node-seleniumgrid on GitHub

TestingBot Logo

Sign up for a Free Trial

Start testing your apps with TestingBot.

No credit card required.

Other Articles

Manual Cross Browser Testing

Today we're happy to announce the launch of a new feature: live manual testing.

Read more
Screen resolution option now available for all Selenium tests

You can now specify a custom screen resolution when running any Selenium test on our grid. TestingBot can now modify the screen-resolution on Win...

Read more
Appium testing on TestingBot: automated hybrid/native iOS testing.

With Appium on TestingBot you can now run WebDriver tests against hybrid and native iOS apps.

Read more

Travis CI is a continuous integration service, you can use this free service to run (Selenium) tests from your GitHub repository. It is very easy t...

Read more
Windows 8/Windows 2012 Selenium Testing

Today we have added Windows 2012 (= Windows 8) VMs to our grid. You can now run Firefox/Chrome and IE10 tests on Windows 2012 VMs.

Read more
Selenium testing with Internet Explorer 10 (IE10)

Today we have added IE10 to our Selenium grid. You can now run WebDriver and Selenium RC tests against Microsoft's latest Internet Explorer brows...

Read more