TestingBot Blog

TestingBot provides a cloud of browsers and devices, ready to run your Automated, Live and Visual tests.

< Back to Blog Overview

PhantomJS and TestingBot

2012-11-30

Today we have added PhantomJS to our Linux VMs on our Selenium Grid. You can now run your WebDriver tests on PhantomJS + Ubuntu.

PhantomJS is a headless WebKit solution which is very fast, it does not suffer from slow browser startup times or other issues you might encounter with browsers.

Together with Ivan De Marino’s GhostDriver, we can now run Selenium WebDriver tests with PhantomJS. An example of how to run a simple test with Ruby and PhantomJS on our grid:

The example above will open the homepage of Google, print the title of the homepage and save a screenshot of the page on your harddisk. As PhantomJS and GhostDriver will be improved and updated in the future, we will keep on updating these on our Linux VMs.

Together with Ubuntu, PhantomJS is very fast: PhantomJS + GhostDriver Ubuntu on our grid:

< Back to Blog Overview

Sign up for a Free Trial

Start testing your apps with TestingBot.

No credit card required.