Selenium & Vagrant: Headless Chrome in the same old 2 steps

This is the second instalment of the Selenium guide to end all Selenium guides.

Selenium has a bad rep for being difficult to setup. With a little Vagrant know-how, this guide will lower the bar for good. The previous blog post illustrated how to seamlessly set up Firefox headless, Xvfb, and Selenium 2.42.1 grid & node using Vagrant. Boom, now we got headless Chrome in the same old two steps. Init.d script included as usual.

The following steps are:

1. git clone this repo https://github.com/yveshwang/selenium-2step
2. Vagrant up selenium and point your test to the port forwarded default hub location.

The awesome sauce continues.

Selenium & Vagrant: Setting up Selenium grid and node, and headless Firefox in 2 steps

This is the Selenium guide to end all Selenium guides.

2 steps is all you need to fire up a potentially production-ready Selenium 2.42.1 grid and node for your test automation awesome sauce. The Vagrantfile in question will install and setup Firefox headless on a precise64 box. Yes, init.d script is included for both Xvfb, Selenium grid and node respectively. Good times!

The following steps are:

1. git clone this repo https://github.com/yveshwang/selenium-2step
2. Vagrant up selenium and point your test to the port forwarded default hub location.

Enjoy!